Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Why does Assembly-CSharp reference UnityEditor.dll

$
0
0
When adding editor scripts to the project, the generated C# project will reference UnityEditor.dll and the Assembly-CSharp.dll (editor code has access to the unity editor and to all "runtime" game code). I've just realized now that the generated project Assembly-CSharp is automatically set to reference UnityEditor.dll as well. What is the logic behind this ? runtime code cannot use any editor features. Is this solely for the purpose of running it in the editor ? If so, why not create that code in Editor folders ?

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>