示例#1
0
 private void DoControllerVisible(object sender, ControllerActionsEventArgs e)
 {
     for (int i = 0; i < availableButtons.Length; i++)
     {
         ToggleTips(tooltipStates[i], availableButtons[i]);
     }
 }
 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);
 }