Basic interaction system that allows the player to click on ingame objects had have an interaction take place.
Created the interactable class with a property of type and methods to help find interactable navigation targets.
Two classes extend the Interactable class. Observable is a simple object that tells the game manager to have the player navigate to the nearest nav target and Door plays a simple animation and then tells the player to navigate to the nearest nav target for the door.
Basic interaction system that allows the player to click on ingame objects had have an interaction take place.
Created the interactable class with a property of type and methods to help find interactable navigation targets.
Two classes extend the Interactable class. Observable is a simple object that tells the game manager to have the player navigate to the nearest nav target and Door plays a simple animation and then tells the player to navigate to the nearest nav target for the door.