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