Class AssetBundleGroup | MARS Companion Core | 0.1.9-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class AssetBundleGroup

    Inheritance
    Object
    AssetBundleGroup
    Namespace: Unity.MARS.Companion.Core
    Syntax
    [Serializable]
    public class AssetBundleGroup : ISerializationCallbackReceiver

    Constructors

    AssetBundleGroup()

    Declaration
    public AssetBundleGroup()

    AssetBundleGroup(String)

    Declaration
    public AssetBundleGroup(string key)
    Parameters
    Type Name Description
    String key

    Properties

    cloudVersion

    Declaration
    public AssetBundleGroup cloudVersion { get; set; }
    Property Value
    Type Description
    AssetBundleGroup

    isCloudResource

    Declaration
    public bool isCloudResource { get; set; }
    Property Value
    Type Description
    Boolean

    Key

    Declaration
    public string Key { get; }
    Property Value
    Type Description
    String

    Methods

    AddOrUpdateBundle(String, String, Int64)

    Declaration
    public void AddOrUpdateBundle(string platform, string bundleKey, long fileSize)
    Parameters
    Type Name Description
    String platform
    String bundleKey
    Int64 fileSize

    GetFileSize()

    Declaration
    public long GetFileSize()
    Returns
    Type Description
    Int64

    HasBundleForPlatform(String)

    Declaration
    public bool HasBundleForPlatform(string platform)
    Parameters
    Type Name Description
    String platform
    Returns
    Type Description
    Boolean

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    TryGetBundleResource(String, out AssetBundleResource)

    Declaration
    public bool TryGetBundleResource(string platform, out AssetBundleResource resource)
    Parameters
    Type Name Description
    String platform
    AssetBundleResource resource
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023