예제 #1
0
 void SetState(Common.ButtonState state_)
 {
     if (state_ == Common.ButtonState.OnPress)
     {
         if (state == Common.ButtonState.OnPress ||
             state == Common.ButtonState.OnHolding)
         {
             state_ = Common.ButtonState.OnHolding;
         }
     }
     state        = state_;
     isInputFrame = true;
 }
예제 #2
0
 public bool IsState(Common.ButtonState state_)
 {
     return(state == state_);
 }