Exemplo n.º 1
0
        private void OnTriggerEnter(Collider other)
        {
            if (other.tag == "Player")
            {
                CameraBehavior camB = Dim.LevelHandler.GetCamera().GetComponent <CameraBehavior>();

                if (cutScene != null)
                {
                    camB.OnCutSceneEnd += DisableCutSceneAndReenablePlayer;
                    camB.SetToCutScene(cutScene);
                    LevelHandler.GetPlayer().GetComponent <Player.PlayerController>().LockControls = true;
                }
            }
        }