docs.unity3d.com
    目次を表示する/隠す

    Delegate LoadTextureCallback

    Response callback for for async texture load operations

    Namespace: Unity.MARS.Data
    Syntax
    [MovedFrom("Unity.MARS")]
    [Obsolete("MARS Cloud storage is obsolete")]
    public delegate void LoadTextureCallback(bool success, long responseCode, Texture2D texture, byte[] payload);
    Parameters
    Type Name Description
    Boolean success

    True if the request succeeded

    Int64 responseCode

    The HTTP response code

    Texture2D texture

    The response payload as a Texture2D, or null if the response failed or the payload is not a valid image

    Byte[] payload

    The raw response payload as a byte[], or the error string as a byte[]

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)