/// <summary> /// <para>Stops listening the specified process and unregisters the given callback function that was registered with <see cref="StartListeningGPUIEvent"/>.</para> /// <para>Use this in your callback function to unregister it (e.g. after hiding the loading bar).</para> /// <para>For an example, see: <seealso cref="DetailDemoSceneController"/></para> /// </summary> /// <param name="eventType">The event type that was registered with <see cref="StartListeningGPUIEvent"/></param> /// <param name="callback">The callback function that was registered with <see cref="StartListeningGPUIEvent"/></param> public static void StopListeningGPUIEvent(GPUInstancerEventType eventType, UnityAction callback) { GPUInstancerUtility.StopListening(eventType, callback); }