Example #1
0
        void Awake()
        {
            Instance = this;

            Player = FindObjectOfType <Player>();

            Menu = FindObjectOfType <LevelMenu>();
        }
Example #2
0
 private void Awake()
 {
     Menu = FindObjectOfType <LevelMenu>();
 }