private void OnHeroTextureDrag(GameObject go, Vector2 delta) { if (mPlayer == null) { return; } ESpin.Get(mPlayer.Obj).OnSpin(delta, 2); }
private void OnTextureDrag(GameObject go, Vector2 delta) { if (mModel == null) { return; } ESpin.Get(mModel).OnSpin(delta, 2); }
private void OnHeroTextureDrag(GameObject go, Vector2 delta) { if (mAvatar == null && mAvatar.GetRootObj() != null) { return; } ESpin.Get(mAvatar.GetRootObj()).OnSpin(delta, 2); }