Exemplo n.º 1
0
 /// <summary>If you subscribed to the log callback, you can
 /// unsubscribe that callback here!
 /// This method can safely be called before initialization.</summary>
 /// <param name="onLog">The subscribed callback to remove.</param>
 public static void Unsubscribe(LogCallback onLog)
 {
     NativeLib.Load();
     _Unsubscribe(onLog);
 }
Exemplo n.º 2
0
 /// <summary>If you need to call StereoKit code before calling
 /// SK.Initialize, you may need to explicitly load the library first.
 /// This can be useful for setting up a few things, but should
 /// probably be a pretty rare case.</summary>
 public static void PreLoadLibrary()
 => NativeLib.Load();