示例#1
0
 private void OnDestroy()
 {
     gem.StopListening("UpdateMoney", UpdateMoney);
     gem.StopListening("EscapeWithMoney", Escape);
     gem.StopListening("RobberEnteredSpawnArea", TrackRobber);
     gem.StopListening("Death", RemoveRobber);
 }
示例#2
0
 public void OnDestroy()
 {
     gem.StopListening("Unlock", BeginUnlocking);
     gem.StopListening("Move", StopUnlocking);
     gem.StopListening("Shot", StopUnlocking);
     gem.StopListening("Death", StopUnlocking);
 }
 protected void OnDestroy()
 {
     gem.StopListening("Attack", Attacked);
     gem.StopListening("HooliganDie", LoseTarget);
     gem.StopListening("RobotBreak", Break);
     gem.StopListening("PickUp", PickedUp);
     gem.StopListening("PutDown", PutDown);
 }
 private void OnDestroy()
 {
     gem.StopListening("StartGame", StartGame);
 }
示例#5
0
 public void OnDestroy()
 {
     gem.StopListening("Shot", TakeDamage);
 }
 private void OnDestroy()
 {
     gem.StopListening("Attack", Attacked);
 }
 private void OnDestroy()
 {
     gem.StopListening("HooliganDie", Died);
 }
示例#8
0
 private void OnDestroy()
 {
     gem.StopListening("Move", Move);
     gem.StopListening("Death", PreventFurtherMovement);
 }
示例#9
0
 private void OnDestroy()
 {
     gem.StopListening("SetSelectionMoney", UpdateMoney);
     gem.StopListening("StartGame", HideText);
     gem.StopListening("LostGame", Destroy);
 }
示例#10
0
 public void OnDestroy()
 {
     gem.StopListening("BeginUnlocking", BeginCracking);
     gem.StopListening("StopUnlocking", StopCracking);
 }
示例#11
0
 private void OnDestroy()
 {
     gem.StopListening("Death", RemoveRobber);
 }
示例#12
0
 private void OnDestroy()
 {
     gem.StopListening("Death", LeaveCorpseBehind);
 }
示例#13
0
 private void OnDestroy()
 {
     gem.StopListening("RobbersSelected", RobbersSelected);
     gem.StopListening("Death", SpawnNextRobber);
 }
示例#14
0
 private void OnDestroy()
 {
     gem.StopListening("LostGame", LoseGame);
 }
示例#15
0
 private void OnDestroy()
 {
     gem.StopListening("UpdateCamera", UpdateCamera);
     gem.StopListening("RobberEnteredRoom", UpdateRobberLocation);
 }
示例#16
0
 void OnDestroy()
 {
     gem.StopListening("RobotBreak", Break);
 }
 protected void OnDestroy()
 {
     gem.StopListening("Death", CheckIfTargetIsDead);
 }
示例#18
0
 private void OnDestroy()
 {
     gem.StopListening("AddMoneyToRobber", AddMoney);
     gem.StopListening("KeyCardStolen", KeyCardStolen);
     gem.StopListening("Death", DropMoney);
 }
 private void OnDestroy()
 {
     gem.StopListening("Explode", Died);
     gem.StopListening("HooliganDie", Died);
     gem.StopListening("PickUp", RemoveTarget);
 }
示例#20
0
 private void OnDestroy()
 {
     gem.StopListening("GrabbedRobot", Grabbed);
     gem.StopListening("Explode", Exploded);
 }