Search Results for

    Show / Hide Table of Contents

    Class Utils

    Inheritance
    Object
    Utils
    Namespace: Mirror
    Assembly: doc.dll
    Syntax
    public static class Utils : object

    Methods

    | Improve this Doc View Source

    GetSpawnedInServerOrClient(UInt32)

    Declaration
    public static NetworkIdentity GetSpawnedInServerOrClient(uint netId)
    Parameters
    Type Name Description
    UInt32 netId
    Returns
    Type Description
    NetworkIdentity
    | Improve this Doc View Source

    GetTrueRandomUInt()

    Declaration
    public static uint GetTrueRandomUInt()
    Returns
    Type Description
    UInt32
    | Improve this Doc View Source

    IsPointInScreen(Vector2)

    Declaration
    public static bool IsPointInScreen(Vector2 point)
    Parameters
    Type Name Description
    Vector2 point
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    IsPrefab(GameObject)

    Declaration
    public static bool IsPrefab(GameObject obj)
    Parameters
    Type Name Description
    GameObject obj
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    IsSceneObjectWithPrefabParent(GameObject, out GameObject)

    Declaration
    public static bool IsSceneObjectWithPrefabParent(GameObject gameObject, out GameObject prefab)
    Parameters
    Type Name Description
    GameObject gameObject
    GameObject prefab
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    PrettyBytes(Int64)

    Declaration
    public static string PrettyBytes(long bytes)
    Parameters
    Type Name Description
    Int64 bytes
    Returns
    Type Description
    String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX