// Animation state event public void OnStableStateEntered(string usertag, AnimStateProvider.StateInfo info) { // Debug.Log("OnStableStateEntered tag:" + usertag); menuBlocker.SetActive(false); if (usertag.Equals("Expanded")) { menuExtraCloseButton.SetActive(true); } }
public void OnStableStateExited(string usertag, AnimStateProvider.StateInfo info) { // Debug.Log("OnStableStateExited tag:" + usertag); menuBlocker.SetActive(true); }