Class ResourceManagerEventCollector
This class defines the category and event types for the ResourceManager
Inheritance
System.Object
ResourceManagerEventCollector
Namespace: UnityEngine.ResourceManagement.Util
Syntax
public static class ResourceManagerEventCollector
Fields
EventCategory
Category for all ResourceManager events
Declaration
public const string EventCategory = "ResourceManagerEvent"
Field Value
Type | Description |
---|---|
System.String |
Methods
PostEvent(ResourceManagerEventCollector.EventType, Object, Int32)
Send an event to all registered event handlers
Declaration
public static void PostEvent(ResourceManagerEventCollector.EventType type, object context, int eventValue)
Parameters
Type | Name | Description |
---|---|---|
ResourceManagerEventCollector.EventType | type | The event type. |
System.Object | context | The context of the event. If this is an IResourceLocation, information will be passed along in the event data field. |
System.Int32 | eventValue | The value of the event. |