Location

1 post

Useful Unity Things to Remember

Here are things that I would normally forget as I do not use them often. [MenuItem(“KZ/What we doing)] static void WeDoingThis() { Debug.Log(“We Did it!”); } When you want to exclude only part of a script you can enclose it in compiler flags. // Runtime code here #if UNITY_EDITOR // […]