예제 #1
0
 public DialogueNode AddHandler(DialogueEffectHandler handler)
 {
     if (lastEffect == null)
     {
         throw new Exception("Error while adding handler: no effect added yet!");
     }
     lastEffect.AddHandler(handler);
     return(this);
 }
예제 #2
0
 public void AddHandler(DialogueEffectHandler handler)
 {
     handlers.Add(handler);
 }