Question : unity if in editor
Answered by : bastien
#if UNITY_EDITOR
// Here put your code, it will not be compiled in the builds so you're safe to use editor libraries
#endif
Source : | Last Update : Sun, 29 Aug 21
Question : #if unity_editor
Answered by : munchduster
#if UNITY_EDITOR
#endif
Source : | Last Update : Sat, 20 Aug 22