override public void OnPointerEnter(PointerEventData data) { if (aiming && data.button == PointerEventData.InputButton.Left) { hovering = true; MoveTarget(GetCursorPosition(data)); StartAimingEvent.Dispatch(); } }
public void StartAiming() { StartAimingEvent.Dispatch(); }