Exemple #1
0
 public void Invoke()
 {
     if (cueScene.cueList[cursor].gameObjectName != "")
     {
         Cue.Invoke(cueScene.cueList[cursor]);
     }
     time = 0;
     Cursor++;
 }
Exemple #2
0
 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.");
     }
 }