docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UgcService

    The entry point of the UGC package. Once initialized, you can use the Instance singleton to implement UGC features.

    Inheritance
    object
    UgcService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Ugc
    Assembly: Unity.Services.Ugc.dll
    Syntax
    public static class UgcService

    Properties

    Instance

    The default singleton instance to access the UGC service.

    Declaration
    public static IUgcService Instance { get; }
    Property Value
    Type Description
    IUgcService
    Exceptions
    Type Condition
    ServicesInitializationException

    This exception is thrown if the

    UnityServices.InitializeAsync()
    has not finished before accessing the singleton.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)