Exemple #1
0
 public EventNode(EventFunctionLua fun, bool remove)
 {
     function          = null;
     functionLua       = fun;
     removeOnLoadScene = remove;
 }
Exemple #2
0
 public void AddListener(int ge, EventFunctionLua ef, bool removeOnLoadScene = true)
 {
     AddListener(ge, new EventNode(ef, removeOnLoadScene));
 }
Exemple #3
0
 public void RemoveListener(int ge, EventFunctionLua ef)
 {
     RemoveListener(ge, new EventNode(ef, false));
 }