public void Invoke() { if (cueScene.cueList[cursor].gameObjectName != "") { Cue.Invoke(cueScene.cueList[cursor]); } time = 0; Cursor++; }
public virtual void DispatchEvent() { if (target) { Cue.Invoke(target, new Cue(0, "", cueEventID, parameter, paramObject)); } else { Debug.LogWarning("Target of " + gameObject.name + "." + name + " is not assigned."); } }