Class GuidManager
Class GuidManager.
Namespace: UnityEngine.Industrial.Configuring.Staging
Syntax
public class GuidManager
Methods
Add(GuidComponent)
Adds the specified unique identifier component.
Declaration
public static bool Add(GuidComponent guidComponent)
Parameters
Type | Name | Description |
---|---|---|
GuidComponent | guidComponent | The unique identifier component. |
Returns
Type | Description |
---|---|
Boolean |
|
Remove(Guid)
Removes the specified unique identifier.
Declaration
public static void Remove(Guid guid)
Parameters
Type | Name | Description |
---|---|---|
Guid | guid | The unique identifier. |
ResolveGuid(Guid)
Resolves the unique identifier.
Declaration
public static GameObject ResolveGuid(Guid guid)
Parameters
Type | Name | Description |
---|---|---|
Guid | guid | The unique identifier. |
Returns
Type | Description |
---|---|
GameObject | GameObject. |
ResolveGuid(Guid, Action)
Resolves the unique identifier.
Declaration
public static GameObject ResolveGuid(Guid guid, Action onDestroyCallback)
Parameters
Type | Name | Description |
---|---|---|
Guid | guid | The unique identifier. |
Action | onDestroyCallback | The on destroy callback. |
Returns
Type | Description |
---|---|
GameObject | GameObject. |
ResolveGuid(Guid, Action<GameObject>, Action)
Resolves the unique identifier.
Declaration
public static GameObject ResolveGuid(Guid guid, Action<GameObject> onAddCallback, Action onRemoveCallback)
Parameters
Type | Name | Description |
---|---|---|
Guid | guid | The unique identifier. |
Action<GameObject> | onAddCallback | The on add callback. |
Action | onRemoveCallback | The on remove callback. |
Returns
Type | Description |
---|---|
GameObject | GameObject. |