Beispiel #1
0
 public void GoGetawayCam()
 {
     m_GetAwayWalker.StartWalking();
     m_GetAwayCamWalker.StartWalking();
     m_CreditsTarget.StartWalking();
     HitmanGameManager.KillAllCameras();
     HitmanGameManager.ActivateCameraAndListen(GetawayCam);
     m_Wilboe.gameObject.SetActive(true);
 }
 private void BeginSequence()
 {
     HitmanGameManager.KillAllCameras();
     cameraTarget.StartWalking();
     camWalker.StartWalking();
     nonFishing47.DeactivateFPControl();
     HitmanGameManager.ActivateCameraAndListen(descendingCamera);
     if (m_freeRoamStart)
     {
         GoFirstPerson();
     }
 }
    public void OnTriggerEnter(Collider other)
    {
        if (this.enabled)
        {
            if (other.gameObject.tag == "Player")
            {
                if (m_ForceGameTransition)
                {
                    m_Game.m_GameState = m_TransitionState;
                    m_Game.TransitionToGameState();
                }

                if (m_startObjectWalking != null)
                {
                    m_startObjectWalking.StartWalking();
                }

                other.gameObject.transform.position = m_SpawnTarget.transform.position;
                other.gameObject.GetComponent <MouseLook>().TriggerBlendoCut(m_SpawnTarget.transform.rotation.eulerAngles);
                GameObject.FindGameObjectWithTag("MainCamera").GetComponent <MouseLook>().TriggerBlendoCut(m_SpawnTarget.transform.rotation.eulerAngles);

                if (m_costumeSwitch != null)
                {
                    m_playerBody.GetComponent <Renderer>().material = m_costumeSwitch;
                }

                if (m_OnUnicycleAfterCut)
                {
                    other.gameObject.GetComponent <FPClownController>().ActivateUnicycle();
                }
                else
                {
                    other.gameObject.GetComponent <FPClownController>().DeactivateUnicycle();
                }
            }
        }
    }
 public void GoFish3()
 {
     Fish3.StartWalking();
 }
 public void GoFish2()
 {
     Fish2.StartWalking();
 }
 public void GoFish1()
 {
     Fish1.StartWalking();
 }
 public void WalkMagiciansBkgrd()
 {
     MagiciansBkgrd.StartWalking();
 }
 public void WalkLippyBkgrd()
 {
     LippyBackground.StartWalking();
 }
 public void StartCamera()
 {
     m_SplineWalker.StartWalking();
 }
 public void MoveTitleText()
 {
     titleWalker.StartWalking();
 }
 public void HitmanBoatCue()
 {
     hitmanBoatWalker.StartWalking();
 }