docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IDeserializable

    IDeserializable is an interface for wrapping generic objects that might be returned as part of HTTP requests.

    Namespace: Unity.Cloud.Assets
    Assembly: Unity.Cloud.Assets.dll
    Syntax
    public interface IDeserializable

    Methods

    GetAsString()

    Returns the internal object as a string.

    Declaration
    string GetAsString()
    Returns
    Type Description
    string

    The internal object as a string.

    GetAs<T>()

    Gets this object as the given type.

    Declaration
    T GetAs<T>()
    Returns
    Type Description
    T

    This object as the given type.

    Type Parameters
    Name Description
    T

    The type you want to convert this object to.

    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)