Ejemplo n.º 1
0
        public override InteractableOptionComponent GetInteractableOption(Interactable interactable, InteractableOption interactableOption = null)
        {
            InteractableOptionComponent returnValue = new ItemPickupComponent(interactable, this, systemGameManager);

            if (interactableOption != null)
            {
                interactableOption.SetComponent(returnValue);
            }
            return(returnValue);
        }
Ejemplo n.º 2
0
        public override InteractableOptionComponent GetInteractableOption(Interactable interactable, InteractableOption interactableOption = null)
        {
            InteractableOptionComponent returnValue = new BankComponent(interactable, this);

            if (interactableOption != null)
            {
                interactableOption.SetComponent(returnValue);
            }
            return(returnValue);
        }