Exemplo n.º 1
0
 public void OnBeginDrag(PointerEventData eventData)
 {
     GameState.gameChangedSinceLoad = true;
     startPosition = Input.mousePosition;
     ObjectSelector.DestroyModifyButtons("ModderCircular");
 }
Exemplo n.º 2
0
 public void OnBeginDrag(PointerEventData eventData)
 {
     GameState.gameChangedSinceLoad = true;
     startRotation = gameObject.transform.eulerAngles.z * Mathf.Deg2Rad;
     ObjectSelector.DestroyModifyButtons("Modder");
 }