Beispiel #1
0
 void Start()
 {
     _TGCcontroller = GameObject.Find("NeuroSkyTGCController").GetComponent <TGCConnectionController>();
     _objRespawner  = GameObject.FindGameObjectWithTag("ObjRespawner").GetComponent <ObjRespawner>();
     _TGCcontroller.UpdateBlinkEvent += OnBlink;
 }
Beispiel #2
0
 void Start()
 {
     _objRespawner = GameObject.FindGameObjectWithTag("ObjRespawner").GetComponent <ObjRespawner>();
     _playerData   = GameObject.FindGameObjectWithTag("GameController").GetComponent <PlayerData>();
 }