Class RandomizerTagManager
Organizes RandomizerTags present in the scene
Inherited Members
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 |