示例#1
0
    private void CameraEnded(EventInfo eventInfo)
    {
        rsc.camerasMng.ChangeCamera(0);
        elevator.Activate();

        if (rsc.gameInfo.player1Controller.Active)
        {
            rsc.gameInfo.player1Controller.GoToIdle();
        }
        if (rsc.gameInfo.numberOfPlayers == 2 && rsc.gameInfo.player2Controller.Active)
        {
            rsc.gameInfo.player2Controller.GoToIdle();
        }

        rsc.colorMng.Activate();
        floor.Activate();
    }