Class SceneObjectGuidManager
Manages SceneObjectGuids.
Inheritance
SceneObjectGuidManager
Assembly: Unity.Tutorials.Core.dll
Syntax
public class SceneObjectGuidManager
Properties
Instance
Returns the singleton instance.
Declaration
public static SceneObjectGuidManager Instance { get; }
Property Value
Methods
Contains(string)
Does the manager contain a Component for specific GUID.
Declaration
public bool Contains(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetComponent(string)
Returns the GUID Component for a specific GUID, if found.
Declaration
public SceneObjectGuid GetComponent(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
Register(SceneObjectGuid)
Registers a GUID component.
Declaration
public void Register(SceneObjectGuid component)
Parameters
Unregister(SceneObjectGuid)
Unregisters a GUID Component.
Declaration
public bool Unregister(SceneObjectGuid component)
Parameters
Returns
Type |
Description |
bool |
True if the Component was found and unregistered, false otherwise.
|