Esempio n. 1
0
 protected override void GetInputs(bool fixedUpdateHappened)
 {
     Pause.Get(fixedUpdateHappened, inputType);
     Interact.Get(fixedUpdateHappened, inputType);
     MeleeAttack.Get(fixedUpdateHappened, inputType);
     RangedAttack.Get(fixedUpdateHappened, inputType);
     Jump.Get(fixedUpdateHappened, inputType);
     Horizontal.Get(inputType);
     Vertical.Get(inputType);
 }
Esempio n. 2
0
 protected override void GetInputs(bool fixedUpdateHappened)
 {
     Pause.Get(fixedUpdateHappened);
     Shoot.Get(fixedUpdateHappened);
     Jump.Get(fixedUpdateHappened);
     Horizontal.Get();
     Vertical.Get();
     AimHorizontal.Get();
     AimVertical.Get();
 }
Esempio n. 3
0
    protected override void GetInputs(bool fixedUpdateHappened)
    {
        Pause.Get(fixedUpdateHappened);
        Jump.Get(fixedUpdateHappened);
        Dash.Get(fixedUpdateHappened);
        Interact.Get(fixedUpdateHappened);
        Horizontal.Get();
        Vertical.Get();

        DebugMenuOpen.Get(fixedUpdateHappened);
    }
Esempio n. 4
0
        protected override void GetInputs(bool fixedUpdateHappened)
        {
            Pause.Get(fixedUpdateHappened, inputType);
            Interact.Get(fixedUpdateHappened, inputType);
            MeleeAttack.Get(fixedUpdateHappened, inputType);
            RangedAttack.Get(fixedUpdateHappened, inputType);
            Jump.Get(fixedUpdateHappened, inputType);
            Horizontal.Get(inputType);
            Vertical.Get(inputType);

            if (Input.GetKeyDown(KeyCode.F12))
            {
                m_DebugMenuIsOpen = !m_DebugMenuIsOpen;
            }
        }
Esempio n. 5
0
        protected override void GetInputs(bool fixedUpdateHappened)//bool fixedUpdateHappned "hay input"?
        {
            Pause.Get(fixedUpdateHappened, inputType);
            Interact.Get(fixedUpdateHappened, inputType);
            MeleeAttack.Get(fixedUpdateHappened, inputType);
            RangedAttack.Get(fixedUpdateHappened, inputType);
            Jump.Get(fixedUpdateHappened, inputType);
            Horizontal.Get(inputType);//aca se llama el metodo get en InputComponent que devuelve value y Receive
            Vertical.Get(inputType);

            if (Input.GetKeyDown(KeyCode.F12))
            {
                m_DebugMenuIsOpen = !m_DebugMenuIsOpen;
            }
        }
Esempio n. 6
0
        /// <summary>
        /// Call by Update() in InputComponent.
        /// </summary>
        /// <param name="fixedUpdateHappened"></param>
        protected override void GetInputs(bool fixedUpdateHappened)
        {
            //Debug.Log(fixedUpdateHappened);
            Pause.Get(fixedUpdateHappened, inputType);
            ThrowRope.Get(fixedUpdateHappened, inputType);
            Dash.Get(fixedUpdateHappened, inputType);
            Pull.Get(fixedUpdateHappened, inputType);
            //Jump.Get(fixedUpdateHappened, inputType);
            PlayerHorizontal.Get(inputType);
            PlayerVertical.Get(inputType);
            AimerHorizontal.Get(inputType);
            AimerVertical.Get(inputType);

            if (Input.GetKeyDown(KeyCode.F12))
            {
                m_DebugMenuIsOpen = !m_DebugMenuIsOpen;
            }
        }
Esempio n. 7
0
 protected override void GetInputs(bool p_fixedUpdateHappened)
 {
     Jump.Get(p_fixedUpdateHappened, m_inputType);
     MeleeAttack.Get(p_fixedUpdateHappened, m_inputType);
     Horizontal.Get(m_inputType);
 }
Esempio n. 8
0
 protected void GetInputs(bool fixedUpdateHappend)
 {
     Pause.Get(fixedUpdateHappend);
     Horizontal.Get();
     Vertical.Get();
 }