in-game code editor
Hi guys ![I need use a code editor like a notpad++ , sublime or something like that][1] . In fact I need the letters to be colored as in the editors, as if the user could code something inside the game. I do not necessarily need it to compile, but only that it identify the syntax and change the color of the words. Language that I intend to use in these texts would be c ++. Do you know anything about doing this?
Like this but in my scene. [1]: https://www.tecmint.com/wp-content/uploads/2016/06/Sublime-Code-Editor-for-Linux.png
Answer by impossiboat · Nov 25, 2017 at 12:58 AM
It would very likely be a huge uphill battle trying to add in-game C++ coding/compilation to Unity.
The closest thing I have found is a C#-like implementation of in-game coding/compilation.
It's called MiniScript, here's a link to it on the asset store. https://www.assetstore.unity3d.com/en/#!/content/87926
Check out what Der_Kevin was able to achieve using MiniScript (and a lot of well-written UI/scripts).
https://www.reddit.com/r/Unity3D/comments/6arvfd/creating_unity_in_unity/
He wrote a blog post about the process of creating that, here.
http://pixelpizza.de/wordpress/?p=1016
This is probably close to what you're looking for. Good luck @MikeMaws
Your answer
Follow this Question
Related Questions
How do I execute code while dragging an ArcHandle? 0 Answers
Process Terrain and Water in Editor? 0 Answers
why can't we set lighting parameter by script 0 Answers
I really need some help and it's frustrating 1 Answer
UI Text is not being rebuilt/updated in edit mode, when changing text from OnInspectorGUI 1 Answer