Esempio n. 1
0
    void Update()
    {
        float v = Input.GetAxis("Vertical");
        float h = Input.GetAxis("Horizontal");
        float a = Input.GetAxis("Acceleration");

        m_flyingControlScript.PitchAndRollInput(v, h);
        m_flyingControlScript.ThrustInput(a);
    }
Esempio n. 2
0
 void Update()
 {
     m_flyingControlScript.PitchAndRollInput(m_v * m_directionControlsSensitivity, m_h * m_directionControlsSensitivity);
     m_flyingControlScript.ThrustInput(m_a * m_directionControlsSensitivity);
 }