public bool IsRaycastHit(out CursorType cursorType, out RaycastableType raycastableType) { if (_pickup.CanBePickedUp()) { cursorType = CursorType.Pickup; } else { cursorType = CursorType.FullPickup; } raycastableType = RaycastableType.ProximityPickup; return(true); }
public bool IsRaycastHit(out CursorType cursorType, out RaycastableType raycastableType) { if (_pickup.CanBePickedUp()) { cursorType = CursorType.Pickup; } else { cursorType = CursorType.FullPickup; } raycastableType = RaycastableType.ClickablePickup; if (Input.GetMouseButtonDown(0)) { _pickup.PickupItem(); } return(true); }
public bool IsRaycastHit(out CursorType cursorType, out RaycastableType raycastableType) { cursorType = CursorType.Dialogue; raycastableType = RaycastableType.Dialogue; return(enabled); }
public bool IsRaycastHit(out CursorType cursorType, out RaycastableType raycastableType) { cursorType = CursorType.Combat; raycastableType = RaycastableType.Enemy; return(enabled); }