예제 #1
0
 /// <summary>
 /// Unity OnDestroy callback.
 /// </summary>
 protected virtual void OnDisable()
 {
     if (manager != null)
     {
         manager.RemoveInput(this);
         manager = null;
     }
 }
 /// <summary>
 /// Unity OnDestroy callback.
 /// </summary>
 protected virtual void OnDisable()
 {
     if (touchManager != null)
     {
         touchManager.RemoveInput(this);
         touchManager = null;
     }
 }