コード例 #1
0
 /// <summary>
 /// Raises the hide user interface complete event.
 /// </summary>
 /// <param name="ui">User interface.</param>
 private void OnHideUIComplete(UIManBase handler)
 {
     UIEventDispatcher.TriggerEvent(UIManEvents.UIMan.OnHideUIComplete, handler);
 }
コード例 #2
0
 /// <summary>
 /// Raises the back event.
 /// </summary>
 /// <param name="before">Before.</param>
 /// <param name="after">After.</param>
 /// <param name="args">Arguments.</param>
 private void OnBack(UIManBase handlerBefore, UIManBase handlerAfter, params object[] args)
 {
     UIEventDispatcher.TriggerEvent(UIManEvents.UIMan.OnBack, handlerBefore, handlerAfter, args);
 }
コード例 #3
0
 /// <summary>
 /// Raises the show user interface complete event.
 /// </summary>
 /// <param name="ui">User interface.</param>
 /// <param name="args">Arguments.</param>
 private void OnShowUIComplete(UIManBase handler, params object[] args)
 {
     UIEventDispatcher.TriggerEvent(UIManEvents.UIMan.OnShowUIComplete, handler, args);
 }
コード例 #4
0
 /// <summary>
 /// Registers the on show user interface complete.
 /// </summary>
 /// <param name="callback">Callback.</param>
 public void RegisterOnShowUIComplete(Action <UIManBase, object[]> callback)
 {
     UIEventDispatcher.AddEventListener(UIManEvents.UIMan.OnShowUIComplete, callback);
 }
コード例 #5
0
 /// <summary>
 /// Registers the on hide user interface complete.
 /// </summary>
 /// <param name="callback">Callback.</param>
 public void RegisterOnHideUIComplete(Action <UIManBase> callback)
 {
     UIEventDispatcher.AddEventListener(UIManEvents.UIMan.OnHideUIComplete, callback);
 }
コード例 #6
0
ファイル: UIMan.cs プロジェクト: hieunt89/unity3d-tree-editor
 /// <summary>
 /// Raises the hide U event.
 /// </summary>
 /// <param name="ui">User interface.</param>
 void OnHideUI(UIManBase handler)
 {
     UIEventDispatcher.TriggerEvent <UIManBase> (UIManEvents.UIMan.OnHideUI, handler);
 }
コード例 #7
0
 /// <summary>
 /// Registers the on back.
 /// </summary>
 /// <param name="callback">Callback.</param>
 public void RegisterOnBack(Action <UIManBase, UIManBase, object[]> callback)
 {
     UIEventDispatcher.AddEventListener(UIManEvents.UIMan.OnBack, callback);
 }
コード例 #8
0
 /// <summary>
 /// Raises the hide user interface complete event.
 /// </summary>
 /// <param name="ui">User interface.</param>
 void OnHideUIComplete(Type ui)
 {
     UIEventDispatcher.TriggerEvent <Type> (UIManEvents.UIMan.OnHideUIComplete, ui);
 }
コード例 #9
0
ファイル: UIMan.cs プロジェクト: hieunt89/unity3d-tree-editor
 /// <summary>
 /// Raises the show UI event.
 /// </summary>
 /// <param name="dialog">Dialog.</param>
 /// <param name="args">Arguments.</param>
 void OnShowUI(UIManBase handler, params object[] args)
 {
     UIEventDispatcher.TriggerEvent <UIManBase, object[]> (UIManEvents.UIMan.OnShowUI, handler, args);
 }
コード例 #10
0
 /// <summary>
 /// Raises the show user interface complete event.
 /// </summary>
 /// <param name="ui">User interface.</param>
 /// <param name="args">Arguments.</param>
 void OnShowUIComplete(Type ui, params object[] args)
 {
     UIEventDispatcher.TriggerEvent <Type, object[]> (UIManEvents.UIMan.OnShowUIComplete, ui, args);
 }
コード例 #11
0
 /// <summary>
 /// Raises the back event.
 /// </summary>
 /// <param name="before">Before.</param>
 /// <param name="after">After.</param>
 /// <param name="args">Arguments.</param>
 void OnBack(Type before, Type after, params object[] args)
 {
     UIEventDispatcher.TriggerEvent <Type, Type, object[]> (UIManEvents.UIMan.OnBack, before, after, args);
 }
コード例 #12
0
 /// <summary>
 /// Registers the on hide user interface complete.
 /// </summary>
 /// <param name="callback">Callback.</param>
 public void RegisterOnHideUIComplete(System.Action <Type> callback)
 {
     UIEventDispatcher.AddEventListener <Type> (UIManEvents.UIMan.OnHideUIComplete, callback);
 }
コード例 #13
0
 /// <summary>
 /// Registers the on show user interface complete.
 /// </summary>
 /// <param name="callback">Callback.</param>
 public void RegisterOnShowUIComplete(System.Action <Type, object[]> callback)
 {
     UIEventDispatcher.AddEventListener <Type, object[]> (UIManEvents.UIMan.OnShowUIComplete, callback);
 }
コード例 #14
0
 /// <summary>
 /// Registers the on back.
 /// </summary>
 /// <param name="callback">Callback.</param>
 public void RegisterOnBack(System.Action <Type, Type, object[]> callback)
 {
     UIEventDispatcher.AddEventListener <Type, Type, object[]> (UIManEvents.UIMan.OnBack, callback);
 }