Exemple #1
0
 /// <summary>
 /// Sets the touch button as visible for this frame. This must be called on a given button type
 /// every frame to keep the button visible.
 /// </summary>
 public static void MakeVisible(TouchButtonFilter.TouchButtonType buttonType)
 {
     touchButtonVisibility[(int)buttonType] = true;
 }
Exemple #2
0
 /// <summary>
 /// Returns the state of a given touch button type.
 /// </summary>
 public static ButtonState GetButtonState(TouchButtonFilter.TouchButtonType buttonType)
 {
     return(touchButtonState[(int)buttonType]);
 }