コード例 #1
0
    public void useRedCard()
    {
        WalletController.removeRedCard();

        PlayerBehavior.Get.immunize(true);

        executionTimeManager.startManagerTime(runningTime);
    }
コード例 #2
0
    protected override void collided()
    {
        sceneryMovement.enabled = false;

        transform.GetChild(0).gameObject.SetActive(false);

        executionTimeManager.startManagerTime(runningTime);

        locked = false;
    }
コード例 #3
0
    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);
    }