docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetTypeExtensions

    Inheritance
    object
    AssetTypeExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Assets
    Assembly: Unity.Cloud.Assets.dll
    Syntax
    public static class AssetTypeExtensions

    Methods

    AssetTypeList()

    Returns a list of all the AssetType values.

    Declaration
    public static List<string> AssetTypeList()
    Returns
    Type Description
    List<string>

    GetValueAsString(AssetType)

    Returns the string value of the AssetType.

    Declaration
    public static string GetValueAsString(this AssetType assetType)
    Parameters
    Type Name Description
    AssetType assetType
    Returns
    Type Description
    string

    TryGetAssetTypeFromString(string, out AssetType)

    Returns the AssetType from the string value.

    Declaration
    public static bool TryGetAssetTypeFromString(this string value, out AssetType assetType)
    Parameters
    Type Name Description
    string value
    AssetType assetType
    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2024 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)