docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInitListener

    IInitListener that is triggered when initialization finishes.

    Namespace: UnityEngine.UDP
    Assembly: UDP.dll
    Syntax
    public interface IInitListener

    Methods

    OnInitializeFailed(string)

    Init failed callback to your game if the initalization was failed.

    Declaration
    void OnInitializeFailed(string message)
    Parameters
    Type Name Description
    string message

    OnInitialized(UserInfo)

    Init success callback to your game if the initialization was successful.

    Declaration
    void OnInitialized(UserInfo userInfo)
    Parameters
    Type Name Description
    UserInfo userInfo
    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)