예제 #1
0
 private void Awake()
 {
     if (Instance != null)
     {
         Destroy(this.gameObject);
     }
     Instance = this;
 }
예제 #2
0
 void Start()
 {
     m_Instance = this;
 }
예제 #3
0
 void Start()
 {
     sTracker = FindObjectOfType <ScoreTracker>();
     swapper  = FindObjectOfType <SceneSwap>();
 }