You can now use both the keymodes, which will produce something like <Block Name>_<Your Custom Key>. You can even specify the character that separates the two.
/// <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.")]