Adds feature to display task description on HUD, when player is nearby a game task.
Task spawn point script now adds a default BoxCollider. This collider is set to trigger to not physically interact with the player.
If a player collides with the trigger (walks into the collider), the task description will be displayed in the HUD, which can be toggled with 'I' key on keyboard for debugging purpose.
If a task needs a custom collider, you can add a collider component to the spawn point and assign the created collider in the TaskSpawnPoint script. If setup, the custom collider will be used for collision detection.
Adds feature to display task description on
HUD
, when player is nearby a game task.Task spawn point script now adds a default
BoxCollider
. This collider is set to trigger to not physically interact with the player. If a player collides with the trigger (walks into the collider), the task description will be displayed in theHUD
, which can be toggled with 'I' key on keyboard for debugging purpose. If a task needs a custom collider, you can add a collider component to the spawn point and assign the created collider in theTaskSpawnPoint
script. If setup, the custom collider will be used for collision detection.