示例#1
0
 static extern void RegisterMonoComponentCallback(MonoComponentCallback callback);
示例#2
0
 internal static void Start()
 {
     IsClosing = false;
     RegisterMonoRefCountedCallback(monoRefCountedCallback = OnRefCountedEvent);
     RegisterMonoComponentCallback(monoComponentCallback   = OnComponentEvent);
 }
示例#3
0
 /// <summary>
 /// Runtime initialization.
 /// </summary>
 public static void Initialize()
 {
     RegisterMonoRefCountedCallback(monoRefCountedCallback = OnRefCountedEvent);
     RegisterMonoComponentCallback(monoComponentCallback   = OnComponentEvent);
 }