private void Update() { var mouseAngle = MouseUtils.GetMouseAndTargetAngle(transform.position); SetMovementParams(); LookAtCursor(mouseAngle); }
public override float GetCurrentAngle(Transform centerPoint) { return(MouseUtils.GetMouseAndTargetAngle(centerPoint.position)); }