protected void Start()
 {
     gem.StartListening("Attack", Attacked);
     gem.StartListening("HooliganDie", LoseTarget);
     gem.StartListening("RobotBreak", Break);
     gem.StartListening("PickUp", PickedUp);
     gem.StartListening("PutDown", PutDown);
     turnFixed   = GetComponent <TurnedFixed>();
     boxCollider = GetComponent <BoxCollider>();
 }
Exemple #2
0
 void Start()
 {
     gem.StartListening("Attack", Attacked);
     turnFixed   = GetComponent <TurnedFixed>();
     boxCollider = GetComponent <BoxCollider>();
 }