nicholas-maltbie / PropHunt

PropHunt game attempt using Unity and the Data Oriented Technology Stack
MIT License
11 stars 0 forks source link

Added interactable system for objects detecting an interactable state #175

Closed nicholas-maltbie closed 3 years ago

nicholas-maltbie commented 3 years ago

Description

Added the interactable component to entities so entities can be interacted with by players hitting the 'interact' ('e' by default) button.

Also added in a sample of a 'door' as an interactable item that can open or close when a player interacts with the object.

How Has This Been Tested?

Tested by verifying action works on local machine with entity debugger.

Checklist:

Closes #160

github-actions[bot] commented 3 years ago

Test Coverage Results for editmode: Line Coverage: 91.4% Link to run results: https://github.com/nicholas-maltbie/PropHunt/actions/runs/464950354

github-actions[bot] commented 3 years ago

Test Coverage Results for editmode: Line Coverage: 100% Link to run results: https://github.com/nicholas-maltbie/PropHunt/actions/runs/465445943

github-actions[bot] commented 3 years ago

Test Coverage Results for editmode: Line Coverage: 100% Link to run results: https://github.com/nicholas-maltbie/PropHunt/actions/runs/465449604

github-actions[bot] commented 3 years ago

Test Coverage Results for editmode: Line Coverage: 100% Link to run results: https://github.com/nicholas-maltbie/PropHunt/actions/runs/466781660