Class ResourceManagerEventCollector | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023