Example #1
0
        /// <summary>
        /// Returns if the button is true with the specified ButtonAction.
        /// </summary>
        /// <param name="name">The name of the button.</param>
        /// <param name="action">The type of action to check.</param>
        /// <returns>The status of the action.</returns>
        public override bool GetButton(string name, ButtonAction action)
        {
            if (m_VirtualControlsManager == null)
            {
                return(false);
            }

            return(m_VirtualControlsManager.GetButton(name, action));
        }