Hittables Manager
Presented by IHittablesManager interface, this system stores collection of all active Hittable objects in game, sorted by teams. It helps to find nearest hittables in certain point within certain radius.
To use this system, inject IHittablesManager interface into your class, as shown below:
Available methods
This method registers hittable object in manager. Other characters and projectiles will be able to find it.
This method unregisters hittable object from manager. Other characters and projectiles will not be able to find it.
This method returns all Hittable objects in certain radius from given point.
Example:
This method returns all Hittable objects in certain radius from given point, from all teams except excludedTeam.
Example:
This method returns all Hittable objects in certain radius from given point, from certain team.
This method instantly kills all Hittable objects of certain team.
Last updated