Exemplo n.º 1
0
        private void OnDrag(Vector3 hitPoint, Vector2 mousePosition)
        {
            float value = activeGizmo.OnDrag(hitPoint, mousePosition);

            OnGizmoTransformObject?.Invoke(activeGizmo.GetGizmoType());
            OnChangeTransformValue?.Invoke(value * activeGizmo.GetActiveAxisVector());
        }
 private void OnDrag(Vector3 hitPoint, Vector2 mousePosition)
 {
     activeGizmo.OnDrag(hitPoint, mousePosition);
     OnGizmoTransformObject?.Invoke(activeGizmo.GetGizmoType());
 }