docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SpriteAssetsDetailDefinition

    Inheritance
    object
    Object
    ScriptableObject
    BaseDetailDefinition
    SpriteAssetsDetailDefinition
    Inherited Members
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public class SpriteAssetsDetailDefinition : BaseDetailDefinition

    Properties

    Name Description
    this[string]

    A square bracket operator to find a Sprite by key string, similar to how you would find a value by key in a Dictionary.

    Methods

    Name Description
    ContainsKey(string)

    Check if this collection contains the given key.

    DisplayName()

    Returns 'friendly' display name for this DetailDefinition.

    GetAsset(string)

    Find a sprite by its key.

    GetKeys()

    Get a copy of the list of keys as an array.

    GetKeys(List<string>)

    Populate a list of strings with all the keys from this detail. Note: this returns the current state of keys for this detail definition. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data.

    TooltipMessage()

    Returns string message which explains the purpose of this DetailDefinition, for the purpose of displaying as a tooltip in editor.

    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)