Example #1
0
 private void Awake()
 {
     Instance = this;
     GameObject.DontDestroyOnLoad(this.gameObject);
 }
Example #2
0
 private void Awake()
 {
     Me = this;
     GameObject.DontDestroyOnLoad(this.gameObject);
     Application.targetFrameRate = 60;
 }