public void useRedCard() { WalletController.removeRedCard(); PlayerBehavior.Get.immunize(true); executionTimeManager.startManagerTime(runningTime); }
protected override void collided() { sceneryMovement.enabled = false; transform.GetChild(0).gameObject.SetActive(false); executionTimeManager.startManagerTime(runningTime); locked = false; }
protected override void collided() { GetComponent <SceneryMovement>().enabled = false; PlayerBehavior.Get.activeSelf(false); //Director.Get.changeBackgroundAudio(newAudio); executionTimeManager.startManagerTime(runningTime); moveObjectEvent(true, sceneryMoveSpeed); moveCrowdEvent(false, -5.0f); accelerateTimeEvent(true, accelerateTime); }