Class AbilityData
Defines the set of abilities and ability components an actor can take on. Used as input to AbilityManager.
Inherited Members
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework.AbilitySystem
Assembly: LobsterFramework.dll
Syntax
[CreateAssetMenu(menuName = "Ability/AbilityData")]
public class AbilityData : ReferenceRequester, IEnumerable<Type>, IEnumerable
Methods
| Improve this Doc View SourceClone()
Clones the ability data
Declaration
public AbilityData Clone()
Returns
Type | Description |
---|---|
AbilityData | A copy of the ability data |
GetRequestingTypes()
Implement this to expose the set of types with RequireComponentReferenceAttribute applied within the data container,
Declaration
public override IEnumerator<Type> GetRequestingTypes()
Returns
Type | Description |
---|---|
IEnumerator<Type> | The set of requester types this data container has |