コード例 #1
0
 protected virtual void OnEnable()
 {
     if (FingerGestures.Instance)
     {
         FingerGestures.Register(this);
     }
     else
     {
         Debug.LogError("Failed to register gesture recognizer " + this + " - FingerGestures instance is not available.");
     }
 }