private void SetTargetIndicator(Vector2 targetDirection) { targetVector = targetDirection; attackIndicatorRotationParent.transform.localRotation = Quaternion.Euler(new Vector3(0, 0, VectorUtilities.Vector2ToAngle(targetDirection))); attackIndicator.SetActive(true); }
private void RotateTargetArrow(Vector2 inputDirection) { arrowRotationParent.transform.localRotation = Quaternion.Euler(new Vector3(0, 0, VectorUtilities.Vector2ToAngle(inputDirection))); }