Class RandomizerTagManager | Perception | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class RandomizerTagManager

    Organizes RandomizerTags attached to GameObjects in the scene

    Inheritance
    Object
    RandomizerTagManager
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.Perception.Randomization.Randomizers
    Syntax
    public class RandomizerTagManager

    Methods

    Query<T>()

    Enumerates all GameObjects in the scene that have a RandomizerTag of the given type

    Declaration
    public IEnumerable<GameObject> Query<T>()
        where T : RandomizerTag
    Returns
    Type Description
    IEnumerable<GameObject>

    GameObjects with the given RandomizerTag

    Type Parameters
    Name Description
    T

    The type of RandomizerTag to query for

    Back to top
    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