Exemple #1
0
    void FixedUpdate()
    {
        controllerMove.FixedUpdateController();

        if (IsActivate)
        {
            input.FixedUpdateInput();
            cinmachineCamera.FixedUpdateCameraController();
            panelButtons.SetActive(true);
        }
        else
        {
            controllerMove.mover.SetVelocity(Vector3.zero);
            input.Desactivate();
            panelButtons.SetActive(false);
        }
    }