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