Exemplo n.º 1
0
 public static SkillEvent AddFsmEvent(SkillEvent fsmEvent)
 {
     SkillEvent.EventList.Add(fsmEvent);
     return(fsmEvent);
 }
Exemplo n.º 2
0
 public static bool EventListContains(string eventName)
 {
     return(SkillEvent.FindEvent(eventName) != null);
 }
Exemplo n.º 3
0
 public static bool IsNullOrEmpty(SkillEvent fsmEvent)
 {
     return(fsmEvent == null || string.IsNullOrEmpty(fsmEvent.name));
 }
Exemplo n.º 4
0
		public DelayedEvent(PlayMakerFSM fsm, SkillEvent fsmEvent, float delay) : this(fsm.Fsm, fsmEvent, delay)
		{
		}
Exemplo n.º 5
0
		public DelayedEvent(Skill fsm, SkillEventTarget eventTarget, SkillEvent fsmEvent, float delay) : this(fsm, fsmEvent, delay)
		{
			this.eventTarget = eventTarget;
		}
Exemplo n.º 6
0
		public DelayedEvent(Skill fsm, string fsmEventName, float delay) : this(fsm, SkillEvent.GetFsmEvent(fsmEventName), delay)
		{
		}