Class WeaponAnimationAttribute
Indicate the weapon ability has an array of animations.
Inheritance
WeaponAnimationAttribute
Assembly: LobsterFramework.dll
Syntax
[RegisterInitialization(0, AttributeType = InitializationAttributeType.Editor)]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class WeaponAnimationAttribute : InitializationAttribute, _Attribute
Constructors
|
Improve this Doc
View Source
WeaponAnimationAttribute(Type)
Declaration
public WeaponAnimationAttribute(Type enumType)
Parameters
Type |
Name |
Description |
Type |
enumType |
The default integer backed enum that defines the size of the animation clip array. Indexed by enum entries.
|
Methods
|
Improve this Doc
View Source
Init(Type)
Perform initialization tasks
Declaration
protected override void Init(Type abilityType)
Parameters
Type |
Name |
Description |
Type |
abilityType |
|
Overrides
|
Improve this Doc
View Source
IsCompatible(Type)
Declaration
public static bool IsCompatible(Type abilityType)
Parameters
Type |
Name |
Description |
Type |
abilityType |
|
Returns
Implements