示例#1
0
 public static void Unregister(OnGuiEvent _action)
 {
     if (_action != null && Instance != null)
     {
         Instance.onGuiEvent -= _action;
     }
 }
示例#2
0
 public static void Register(OnGuiEvent _action)
 {
     if (_action != null)
     {
         Instance.onGuiEvent += _action;
     }
 }