Example #1
0
        /// <summary>
        /// Returns the axis of the specified button.
        /// </summary>
        /// <param name="axisName">The name of the axis.</param>
        /// <returns>The axis value.</returns>
        public override float GetAxis(string name)
        {
            if (m_VirtualControlsManager == null)
            {
                return(0);
            }

            return(m_VirtualControlsManager.GetAxis(name));
        }