Abilities / Skills
Manages all Ability activation, restrictions, animations, cooldowns, etc.
Relevant Components
AgentAbilities
Typical Setup
Add an AgentAbilities
component on the Avatar Object.
When you press an ability button it will talk to the backend data class and try to use the ability. From there the back end does most of the heavy lifting and handles the casting/etc in collaboration with the front end class that is relaying animator events and cooldown timings.
Scenario A (ideal)
Scene GameObject "Player Bob" (
AgentAbilities
)Player presses ability button
Event is fired back to the Ability DataEntity, and animations are started.
Back end handles VFX, restrictions, damage, etc while front end relays animation events and timing and cooldowns.
Last updated