Exemplo n.º 1
0
        /// Returns true while the busson is held down
        public bool GetButton(XRButtonType button_type)
        {
            return(GetButton(XRStaticButtons.ButtonTypeToFeature(button_type)));

            // return GetButton( XRTracker.ButtonGet( button ) );
        }
Exemplo n.º 2
0
 static public InputFeatureUsage <bool> ButtonTypeToFeature(XRButtonType button)
 {
     return(XRStaticButtons.ButtonsList[( int )button]);
 }