SPAM Framework Documentation

Pre-cast Behaviours

Behaviours are code or evaluations that will run before the ability is cast. They can be used both as additions and gates (prohibit an ability from being cast).

Two behaviours are provided as an example of what can be achieved with pre-cast behaviours:

You are encouraged to create your own behaviours by extending the base class PreCastBehaviourSO.cs and then creating instances of them in the editor (add the attribute [CreateAssetMenu(menuName = "YourGame/BehavaiourName", fileName = "behaviour.asset")]to your class).

Backlinks: