docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RandomizerTagManager

    Organizes RandomizerTags present in the scene

    Inheritance
    object
    RandomizerTagManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Perception.Randomization.Randomizers
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    public class RandomizerTagManager

    Properties

    singleton

    Returns the singleton RandomizerTagManager instance

    Declaration
    public static RandomizerTagManager singleton { get; }
    Property Value
    Type Description
    RandomizerTagManager

    Methods

    Query<T>(bool)

    Enumerates over all RandomizerTags of the given type present in the scene

    Declaration
    public IEnumerable<T> Query<T>(bool returnSubclasses = false) where T : RandomizerTag
    Parameters
    Type Name Description
    bool returnSubclasses

    Should this method retrieve all tags derived from the passed in tag also?

    Returns
    Type Description
    IEnumerable<T>

    RandomizerTags of the given type

    Type Parameters
    Name Description
    T

    The type of RandomizerTag to query for

    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)