I found on a tips guide in Unity that I can do: #if UNITY_EDITOR do_something() #endif. And do_something() will only be executed on Unity ...
確定! 回上一頁