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