Class LegionActionLibrary
- Namespace
- PixelUnitStudio
- Assembly
- PixelUnitStudio.Runtime.dll
Custom actions shared by every hero. The edit screen keeps them in LegionActions.asset in the hero save folder, and saved hero prefabs reference it through their LegionActionPlayer.
public sealed class LegionActionLibrary : ScriptableObject
- Inheritance
-
LegionActionLibrary
Constructors
LegionActionLibrary()
public LegionActionLibrary()
Fields
actions
public List<LegionAction> actions
Field Value
Methods
Find(string)
public LegionAction Find(string actionName)
Parameters
actionNamestring
Returns
Put(LegionAction)
Adds the action, or replaces the one with the same name.
public void Put(LegionAction action)
Parameters
actionLegionAction
Remove(string)
public bool Remove(string actionName)
Parameters
actionNamestring