Introduction
This component simply stores a unique ID for the gameobject it is attached too. It will auto generate, although you can generate a new one, or copy the current one.
In the system, this is generally used in conjuction with the SaveableObject component.
Setting up
Add the component to the gameobject.
SaveableObject will add this component automatically.
Scripting
/// <summary>
/// Assigns a given ID. Useful for when custom loading an object into the world, and the UniqueID should be kept the same
/// </summary>
/// <param name="newID">The new ID to assign</param>
public void AssignNewId(string newID)
/// <summary>
/// Generates a new id
/// </summary>
public void GenerateNewID()