コード例 #1
0
 public void RemoveJoyStickEndListener(JoyStickTouchEnd jsEnd)
 {
     if (jsEnd != null)
     {
         this.OnJoyStickTouchEnd -= jsEnd;
     }
 }
コード例 #2
0
 public void SetJoyStickEndListener(JoyStickTouchEnd jsEnd)
 {
     if (jsEnd != null)
     {
         this.OnJoyStickTouchEnd = jsEnd;
     }
 }
コード例 #3
0
 public void AddJoyStickEndListener(JoyStickTouchEnd action)
 {
     if (action != null)
     {
         JoyStick stk = transform.GetComponent <JoyStick>();
         if (stk != null)
         {
             stk.AddJoyStickEndListener(action);
         }
     }
 }