SequenceManager.AddSequence
Declaration#
public void AddSequence(ActionSequenceList sequence)Parameters#
| Name | Description |
|---|---|
| sequence | Sequence to add to the list |
Description#
Add a new sequence to the list
Usage#
Example
using NullSave.GDTK;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(SequenceManager target, ActionSequence source) { ActionSequenceList sequenceList = new ActionSequenceList(); foreach(ActionSequenceWrapper sequence in source.plugins) { sequenceList.actions.Add(sequence); } target.AddSequence(sequenceList); }
}