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