docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetTypeSearchCriteria

    A simple Asset type search but wrapped in a type.

    Inheritance
    object
    BaseSearchCriteria
    SearchCriteria<string>
    AssetTypeSearchCriteria
    Inherited Members
    BaseSearchCriteria.PropertyName
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Assets
    Assembly: Unity.Cloud.Assets.dll
    Syntax
    public sealed class AssetTypeSearchCriteria : SearchCriteria<string>

    Properties

    SearchKey

    The search key for the AssetType.

    Declaration
    public static string SearchKey { get; }
    Property Value
    Type Description
    string

    Methods

    Clear()

    Clears the criteria fields.

    Declaration
    public override void Clear()
    Overrides
    SearchCriteria<string>.Clear()

    WithValue(string)

    Sets the value of the search criteria.

    Declaration
    public override void WithValue(string value)
    Parameters
    Type Name Description
    string value

    The expected value of the field.

    Overrides
    SearchCriteria<string>.WithValue(string)

    WithValue(Regex)

    Sets the pattern of the string search term.

    Declaration
    public void WithValue(Regex pattern)
    Parameters
    Type Name Description
    Regex pattern

    The string pattern to match.

    WithValue(AssetType)

    Sets the value of the AssetType criteria.

    Declaration
    public void WithValue(AssetType assetType)
    Parameters
    Type Name Description
    AssetType assetType

    The asset type to match.

    WithValue(params AssetType[])

    Sets the value of the AssetType criteria.

    Declaration
    public void WithValue(params AssetType[] assetTypes)
    Parameters
    Type Name Description
    AssetType[] assetTypes

    The asset types to match.

    WithValue(StringPredicate)

    Sets the predicate criteria for the string search term.

    Declaration
    public void WithValue(StringPredicate stringPredicate)
    Parameters
    Type Name Description
    StringPredicate stringPredicate

    The string predicate to match.

    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)