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