Class GUID
The GUID component holds a unique System.Guid string that can be used for identifying objects throughout sessions (like when loading a savegame for instance).
Inheritance
System.Object
GUID
Namespace: GlitchedPolygons.Identification
Assembly: UnityScriptsLibrary.dll
Syntax
public sealed class GUID : MonoBehaviour
Methods
| Improve this Doc View SourceChangeGUID()
Assigns a new random System.Guid.
Declaration
public void ChangeGUID()
ChangeGUID(Guid)
Assigns a specific System.Guid.
Declaration
public void ChangeGUID(Guid guid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | guid | The System.Guid to assign. |
GetGUID()
Gets the current guid string.
Declaration
public string GetGUID()
Returns
| Type | Description |
|---|---|
| System.String | The current guid string. |