Namespace Serenity.Checkpoint.Infrastructure.Components
Classes
UnityCheckpointTriggerComponent
No-code checkpoint: placed on a trigger volume, it records a checkpoint through ICheckpointService when an admitted object walks in. The checkpoint carries the checkpoint's name as its label, the scene's name as its stage and the respawn point's pose (UnityCheckpointRespawnPose) as its data, which is what a respawn script reads back.
Structs
UnityCheckpointRespawnPose
The data a UnityCheckpointTriggerComponent saves with its checkpoint: the world position and rotation a respawn puts the player back at, as UTF-8 JSON. A respawn script loads the checkpoint and reads its data back with TryRead(byte[], out UnityCheckpointRespawnPose).