Esempio n. 1
0
 void Awake()
 {
     _creepBase = GetComponent<CreepBase>();
 }
Esempio n. 2
0
 void Start()
 {
     _creepBase = GetComponent<CreepBase>();
     _creepBase.CreepController.moveHorizontal += OnMove;
     _playerBase = GameObject.FindGameObjectWithTag (Tags.PLAYER).GetComponent<PlayerBase> ();
 }