Fix build error due to Editor specific code

This commit is contained in:
Minz committed 2022-04-24 13:45:11 +02:00
1 parent 84fb81e5c8
commit 1c8d428f08
1 file changed
+2
+2
View File
@@ -27,6 +27,8 @@ public class Pickup : MonoBehaviour
string className = this.GetType().ToString();
GUI.color = Color.blue;
#if UNITY_EDITOR
UnityEditor.Handles.Label(transform.position, className);
#endif
}
}