Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created August 26, 2025 09:01
Show Gist options
  • Select an option

  • Save todorok1/4e28179464e18c087799122d630d939d to your computer and use it in GitHub Desktop.

Select an option

Save todorok1/4e28179464e18c087799122d630d939d to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第126回 セーブに関する設定の定義
namespace SimpleRpg
{
/// <summary>
/// セーブに関する設定の定義です。
/// </summary>
public static class SaveSettings
{
/// <summary>
/// セーブ枠の数です。
/// </summary>
public const int SlotNum = 3;
/// <summary>
/// セーブファイルの名前です。
/// </summary>
public const string SaveFileName = "SimpleSave.json";
/// <summary>
/// WebGLのセーブデータのキー名です。
/// </summary>
public const string WebGLSaveKey = "SimpleRpgSaveData";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment