Applied to Ability to make it visible to editor scripts
Inheritance
AddAbilityMenuAttribute
Assembly: LobsterFramework.dll
[RegisterInitialization(0, AttributeType = InitializationAttributeType.Dual)]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class AddAbilityMenuAttribute : InitializationAttribute, _Attribute
Constructors
|
Improve this Doc
View Source
Declaration
public AddAbilityMenuAttribute(string menuPath = "")
Parameters
Type |
Name |
Description |
string |
menuPath |
The path leading to this item in the menu
|
Methods
|
Improve this Doc
View Source
Perform initialization tasks
Declaration
protected override void Init(Type abilityType)
Parameters
Type |
Name |
Description |
Type |
abilityType |
|
Overrides
|
Improve this Doc
View Source
Declaration
public static bool IsCompatible(Type abilityType)
Parameters
Type |
Name |
Description |
Type |
abilityType |
|
Returns
Implements