Example #1
0
 private void OnMouseDown()
 {
     MouseStartPos = Input.mousePosition;
     _isDraged     = true;
     CameraMgr.Lock();
     if (OnLeftDown != null)
     {
         OnLeftDown(this);
     }
     if (OnLeftClick != null)
     {
         OnLeftClick(this);
     }
 }