Back to API Reference
Class

CompositeModifier

sealed

Combines multiple modifiers into a single modifier.

Remarks

Splits the tag parameter by; and passes each segment to the corresponding child modifier. For example, <wobble-color=3,10,1;#FF0000> passes "3,10,1" to the first modifier and "#FF0000" to the second. Child modifiers with no corresponding segment (fewer; groups than modifiers) receive a null parameter and fall back to their defaults.
public IReadOnlyList<BaseModifier> Modifiers{ get }

Child modifiers applied in order. The tag parameter is split by;, with the n-th segment passed to the n-th child; absent segments deliver so the child falls back to its own defaults.

public void SetModifiers()

Replaces the child modifier list, re-initialises children, and queues a re-parse.

public void AddModifier()

Appends one child modifier and queues a re-parse.

public void RemoveModifierAt()

Removes the child modifier at index and queues a re-parse.

public override void PrepareForParallel()
protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void OnApply()