Пример #1
0
 private void OnHeroTextureDrag(GameObject go, Vector2 delta)
 {
     if (mPlayer == null)
     {
         return;
     }
     ESpin.Get(mPlayer.Obj).OnSpin(delta, 2);
 }
Пример #2
0
 private void OnTextureDrag(GameObject go, Vector2 delta)
 {
     if (mModel == null)
     {
         return;
     }
     ESpin.Get(mModel).OnSpin(delta, 2);
 }
Пример #3
0
 private void OnHeroTextureDrag(GameObject go, Vector2 delta)
 {
     if (mAvatar == null && mAvatar.GetRootObj() != null)
     {
         return;
     }
     ESpin.Get(mAvatar.GetRootObj()).OnSpin(delta, 2);
 }