예제 #1
0
 private UIState GenerateState()
 {
     return(UIState.Merge(
                GetHoverState(),
                GetSelectedState(),
                GetWeaponStatusState()));
 }
예제 #2
0
 public void OnPointerExit(PointerEventData eventData)
 {
     TransitionToState(UIState.Merge(_defaultState));
 }
예제 #3
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     TransitionToState(UIState.Merge(_hoverState));
 }