public override InteractableOptionComponent GetInteractableOption(Interactable interactable, InteractableOption interactableOption = null) { InteractableOptionComponent returnValue = new ItemPickupComponent(interactable, this, systemGameManager); if (interactableOption != null) { interactableOption.SetComponent(returnValue); } return(returnValue); }
public override InteractableOptionComponent GetInteractableOption(Interactable interactable, InteractableOption interactableOption = null) { InteractableOptionComponent returnValue = new BankComponent(interactable, this); if (interactableOption != null) { interactableOption.SetComponent(returnValue); } return(returnValue); }