nicholas-maltbie / PropHunt

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

Interactable Object Highlight #157

Closed nicholas-maltbie closed 3 years ago

nicholas-maltbie commented 3 years ago

There should be a system that can highlight an object by adding a tint and or outline to the object using a shader graph.

This object should interact with a component FocusTarget assigned to the entity (See issue #156 for interactable local client definition). This can just be a placeholder component until issue #156 is completed. When this component has some flag set to true, the object should be highlighted.

There could be a system to manage this action of setting the object's highlight state based on whenever the FocusTarget component has a change. This can be achieved using a ChangeFilter with the Entities.ForEach command. An example of this detecting changes can be found in the PushForceApply system.