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); } }
private void DoControllerInvisible(object sender, ControllerActionsEventArgs e) { for (int i = 0; i < buttonTooltips.Length; i++) { tooltipStates[i] = buttonTooltips[i].activeSelf; } ToggleTips(false); }