Update() public method

public Update ( ) : void
return void
    void LateUpdate()
    {
        if (Input.GetKey(KeyCode.UpArrow))
        {
            weight += 1 * Time.deltaTime;
        }
        if (Input.GetKey(KeyCode.DownArrow))
        {
            weight -= 1 * Time.deltaTime;
        }
        if (Input.GetKey(KeyCode.Y))
        {
            x += 1;
        }
        if (Input.GetKey(KeyCode.U))
        {
            y += 1;
        }
        if (Input.GetKey(KeyCode.I))
        {
            z += 1;
        }

        if (Input.GetKey(KeyCode.H))
        {
            x -= 1;
        }
        if (Input.GetKey(KeyCode.J))
        {
            y -= 1;
        }
        if (Input.GetKey(KeyCode.K))
        {
            z -= 1;
        }
        if (Input.GetKey(KeyCode.P))
        {
            Debug.Log(weight);
        }
        ThisPlayer.Update();
        hotbar.Update();
        MyCamera.SetActive(true);
        localGUI.gameObject.SetActive(true);
        Vector3 Data = Player1Stats.GetData();

        StaminaBar.transform.localScale = new Vector3(Data.y / 100, 1, 1);
        HealthBar.transform.localScale  = new Vector3(Data.x / 100, 1, 1);
        SanityBar.transform.localScale  = new Vector3(Data.z / 100, 1, 1);
        ThisAudioManager.Update(100 - Data.z);
    }
    void LateUpdate()
    {
        if (PV.IsMine)
        {
            if (!PlayedMusic)
            {
                PlayedMusic = true;
                ThisAudioManager.PlayMusic();
            }
            if (input.GetKeyDown("escape"))
            {
                if (OldState == null)
                {
                    OldState = ThisPlayer.GetState();
                    ThisPlayer.SetState(PauseMenu);
                    Cursor.lockState = CursorLockMode.None;
                    Cursor.visible   = true;
                    menu.SetActive(true);
                }
                else
                {
                    Resume();
                }
            }

            ThisPlayer.Update();
            hotbar.Update();
            input.Update();
            MyCamera.SetActive(true);
            MyFBOCam.SetActive(true);
            UIElements.SetActive(true);
            Vector3 Data = Player1Stats.GetData();
            StaminaBar.transform.localScale = new Vector3(Data.y / 100, 1, 1);
            HealthBar.transform.localScale  = new Vector3(Data.x / 100, 1, 1);
            SanityBar.transform.localScale  = new Vector3(Data.z / 100, 1, 1);
            ThisAudioManager.Update(Data.z);
        }
    }