(Scripting) What is the difference between UnityEngine and UnityEditor?
I'm new to unity, trying to delve into scripting.
Within the official scripting documentation, the side panel is broken up into 3 categories:
UnityEngine
UnityEditor
Other
Can someone explain the differences between UnityEngine and UnityEditor?
Thank you in advance!
Answer by Sazails · Jul 27, 2018 at 05:41 PM
UnityEngine is for built in Unity components such as the actual GameObjects and Transform that are used within the engine.
UnityEditor is the GUI of the actual program. You can also make custom editors of yours.
Check out Brackeys to understand what it is: https://www.youtube.com/watch?v=491TSNwXTIg
wanted to add that the UnityEditor namespace is not available in builds, so it's everything editor related, but nothing games can use.
Answer by Reivaj28 · Jul 27, 2018 at 05:38 PM
I think that UnityEngine is what Unity is (a game engine), and UnityEditor is the design of the game.
Your answer
Follow this Question
Related Questions
Unity {[(2D)]} RotateAround while jumping 0 Answers
Why do I only have left/right mouse movement 1 Answer
2D Frogger Logs and Water issues 0 Answers