예제 #1
0
 private void DoControllerVisible(object sender, ControllerActionsEventArgs e)
 {
     for (int i = 0; i < availableButtons.Length; i++)
     {
         ToggleTips(tooltipStates[i], availableButtons[i]);
     }
 }
예제 #2
0
 public virtual void OnControllerModelInvisible(ControllerActionsEventArgs e)
 {
     if (ControllerModelInvisible != null)
     {
         ControllerModelInvisible(this, e);
     }
 }
예제 #3
0
 private void DoControllerInvisible(object sender, ControllerActionsEventArgs e)
 {
     for (int i = 0; i < buttonTooltips.Length; i++)
     {
         tooltipStates[i] = buttonTooltips[i].activeSelf;
     }
     ToggleTips(false);
 }