Exemple #1
0
 void OnDrag(Vector3 position)
 {
     if (curr != null)
         curr.transform.position = position;
     else
         dragBehaviour.BaseOnDrag(position);
 }
Exemple #2
0
 void OnDrag(Vector3 position)
 {
     dragBehaviour.BaseOnDrag(position);
     foreach (var d in dependenceds)
     {
         d.UpdateView();
     }
     UpdateView();
 }