docs.unity3d.com
    Show / Hide Table of Contents

    Class RandomizerTagManager

    Organizes RandomizerTags present in the scene

    Inheritance
    Object
    RandomizerTagManager
    Namespace: UnityEngine.Perception.Randomization.Randomizers
    Syntax
    public class RandomizerTagManager : object

    Properties

    singleton

    Returns the singleton RandomizerTagManager instance

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

    Methods

    Query<T>(Boolean)

    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
    Boolean 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

    Back to top
    Terms of use
    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