Interactive props (UNITY/C#)

The goal of this was to create a cheap to run script that could be attached to any mesh in game to turn it into an interactive object that could be customised via the inspector.


Here you can see the items in the inspector that are exposed and customizeable.


This is a basic overview of the logic flow between the interactive check script attached to the player controller and the object data script attached to any interactive object in the world.