An Instance is a unique identifier for your game, think of it as a save file. It allows you to have multiple instances for the same application, or multiple save files for the same game.Instances use a UUID to identify the instance with your game, you must generate a new UUID for each new instance and ensure that the UUID is saved in your game’s save file.
Copy
// Generate a new UUIDUUID uuid = UUID.randomUUID();// Register the instanceInstance instance = PixocracySDK.InstanceManager().registerInstance(uuid);// Store the UUID somewhere safe for future use