public bool HandleRaycast(PlayerController3D controller) { if (Input.GetMouseButton(0)) { Pickup(controller.GetComponent <Fighter>()); } return(true); }
public bool HandleRaycast(PlayerController3D controller) { if (Input.GetMouseButtonDown(0)) { ToggleCombatMarker(true); controller.GetComponent <Fighter>().SetTarget(transform.GetComponent <Health>()); } return(true); }