diff --git a/Assets/Scripts/SS3D/Systems/Inventory/Interactions/OpenInteraction.cs b/Assets/Scripts/SS3D/Systems/Inventory/Interactions/OpenInteraction.cs index 9f3e16cd9..a1586a24b 100644 --- a/Assets/Scripts/SS3D/Systems/Inventory/Interactions/OpenInteraction.cs +++ b/Assets/Scripts/SS3D/Systems/Inventory/Interactions/OpenInteraction.cs @@ -24,6 +24,11 @@ public OpenInteraction(AttachedContainer attachedContainer) _attachedContainer = attachedContainer; } + public override string GetGenericName() + { + return "Open"; + } + public override string GetName(InteractionEvent interactionEvent) { Animator animator = ((IGameObjectProvider)interactionEvent.Target).GameObject.GetComponent<Animator>(); @@ -111,4 +116,4 @@ private void OnOpenStateChange(bool e) OnOpenStateChanged?.Invoke(this, e); } } -} \ No newline at end of file +} diff --git a/Assets/Scripts/SS3D/Systems/Inventory/Interactions/TakeFirstInteraction.cs b/Assets/Scripts/SS3D/Systems/Inventory/Interactions/TakeFirstInteraction.cs index 48e8eddc4..e3727455f 100644 --- a/Assets/Scripts/SS3D/Systems/Inventory/Interactions/TakeFirstInteraction.cs +++ b/Assets/Scripts/SS3D/Systems/Inventory/Interactions/TakeFirstInteraction.cs @@ -24,6 +24,11 @@ public TakeFirstInteraction(AttachedContainer attachedContainer, float timeToMov _attachedContainer = attachedContainer; } + public override string GetGenericName() + { + return "Take"; + } + public override string GetName(InteractionEvent interactionEvent) { return "Take in " + _attachedContainer.ContainerName; diff --git a/Assets/Scripts/SS3D/Systems/Inventory/Interactions/ViewContainerInteraction.cs b/Assets/Scripts/SS3D/Systems/Inventory/Interactions/ViewContainerInteraction.cs index a2ae57681..cd39d042e 100644 --- a/Assets/Scripts/SS3D/Systems/Inventory/Interactions/ViewContainerInteraction.cs +++ b/Assets/Scripts/SS3D/Systems/Inventory/Interactions/ViewContainerInteraction.cs @@ -18,6 +18,11 @@ public ViewContainerInteraction(AttachedContainer attachedContainer) AttachedContainer = attachedContainer; } + public override string GetGenericName() + { + return "View Container"; + } + public override string GetName(InteractionEvent interactionEvent) { return "View " + AttachedContainer.ContainerName; @@ -63,4 +68,4 @@ public override bool Start(InteractionEvent interactionEvent, InteractionReferen return false; } } -} \ No newline at end of file +}