Class SceneObjectIDMap
Inheritance
SceneObjectIDMap
Syntax
public class SceneObjectIDMap
Methods
GetAllIDsFor<TCategory>(TCategory, Scene, List<GameObject>, List<Int32>)
Declaration
public static void GetAllIDsFor<TCategory>(TCategory category, Scene scene, List<GameObject> outGameObjects, List<int> outIndices)
where TCategory : struct, IConvertible
Parameters
| Type |
Name |
Description |
| TCategory |
category |
|
| Scene |
scene |
|
| List<GameObject> |
outGameObjects |
|
| List<Int32> |
outIndices |
|
Type Parameters
| Name |
Description |
| TCategory |
|
GetAllIDsForAllScenes<TCategory>(TCategory, List<GameObject>, List<Int32>, List<Scene>)
Declaration
public static void GetAllIDsForAllScenes<TCategory>(TCategory category, List<GameObject> outGameObjects, List<int> outIndices, List<Scene> outScenes)
where TCategory : struct, IConvertible
Parameters
| Type |
Name |
Description |
| TCategory |
category |
|
| List<GameObject> |
outGameObjects |
|
| List<Int32> |
outIndices |
|
| List<Scene> |
outScenes |
|
Type Parameters
| Name |
Description |
| TCategory |
|
GetOrCreateSceneObjectID<TCategory>(GameObject, TCategory)
Declaration
public static int GetOrCreateSceneObjectID<TCategory>(GameObject gameObject, TCategory category)
where TCategory : struct, IConvertible
Parameters
| Type |
Name |
Description |
| GameObject |
gameObject |
|
| TCategory |
category |
|
Returns
Type Parameters
| Name |
Description |
| TCategory |
|
TryGetSceneObjectID<TCategory>(GameObject, out Int32, out TCategory)
Declaration
public static bool TryGetSceneObjectID<TCategory>(GameObject gameObject, out int index, out TCategory category)
where TCategory : struct, IConvertible
Parameters
| Type |
Name |
Description |
| GameObject |
gameObject |
|
| Int32 |
index |
|
| TCategory |
category |
|
Returns
Type Parameters
| Name |
Description |
| TCategory |
|