Class VariaBehaviour
Base class for all varia components that actually do something. Simply inherit, and override the Apply() method to make a new component.
Inheritance
VariaBehaviour
Namespace: Varia
Assembly: cs.temp.dll.dll
Syntax
public abstract class VariaBehaviour : MonoBehaviour
Fields
conditionList
Declaration
public VariaConditionList conditionList
Field Value
Type | Description |
---|---|
VariaConditionList |
Methods
Apply(VariaContext)
Override this to control what happens when all the conditions are met
Declaration
public virtual void Apply(VariaContext context)
Parameters
Type | Name | Description |
---|---|---|
VariaContext | context |
NoApply(VariaContext)
Override this to control what happens when a condition is missed
Declaration
public virtual void NoApply(VariaContext context)
Parameters
Type | Name | Description |
---|---|---|
VariaContext | context |
OnEnable()
Declaration
protected void OnEnable()