/// <summary> Use the parent Block's name as the Save Point Key. N.B. If you change the Block name later it will break the save file!</summary>
UseBlockName,
/// <summary> Use a custom string for the key. This allows you to use multiple Save Points in the same block and save files will still work if the Block is renamed later. </summary>
Custom
Custom,
/// <summary> Use both the parent Block's name as well as a custom string for the Save Point key. This allows you to use your custom key every block, provided your Block names are unique./// </summary>
Both
}
/// <summary>
@ -43,6 +45,10 @@ namespace Fungus
[Tooltip("A string key which uniquely identifies this save point.")]
[SerializeField]protectedstringcustomKey="";
[Tooltip("A string to seperate the block name and custom key when using KeyMode.Both.")]
[SerializeField]
protectedstringkeySeparator="_";
[Tooltip("How the description for this Save Point is defined.")]