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>(); }
void Start() { gem.StartListening("Attack", Attacked); turnFixed = GetComponent <TurnedFixed>(); boxCollider = GetComponent <BoxCollider>(); }