コード例 #1
0
    void Start()
    {
        levelIndex = SceneManager.GetActiveScene().buildIndex;
        Debug.Log(dataPath);
        saveFile = GameSaver.LoadData(dataPath);

        PushGameState(GameState.MAIN_MENU);
        OnStateEntered();
    }