コード例 #1
0
    private void MouseRawDrag(int buttonId, Vector3 mousePosition, float axisX, float axisY)
    {
        if (!CanDrag())
        {
            return;
        }

        OnMouseDragRaw?.Invoke(buttonId, mousePosition, axisX, axisY);
    }
コード例 #2
0
 private void MouseRawDrag(int buttonId, Vector3 mousePosition, float axisX, float axisY)
 {
     if (!canInputBeMade)
     {
         return;
     }
     if (!BuilderInWorldUtils.IsPointerOverUIElement())
     {
         OnMouseDragRaw?.Invoke(buttonId, mousePosition, axisX, axisY);
     }
 }