Beispiel #1
0
 void Awake()
 {
     //Debug.Log ("[ST Tracker] Awake");
     transponders = new Dictionary <uint, TransponderInfo> ();
     GameEvents.onHideUI.Add(onHideUI);
     GameEvents.onShowUI.Add(onShowUI);
     instance = this;
 }
Beispiel #2
0
 void OnDestroy()
 {
     GameEvents.onHideUI.Remove(onHideUI);
     GameEvents.onShowUI.Remove(onShowUI);
     instance = null;
 }
 void OnDestroy()
 {
     instance = null;
 }
 void Awake()
 {
     //Debug.Log ("[ST Tracker] Awake");
     transponders = new Dictionary<uint, TransponderInfo> ();
     instance = this;
 }