public void SceneUnsafeTest() { IGame game = new GameBuilder().Build(); Scene scene = new Scene(); // ロードに成功 Assert.True(game.LoadSceneUnsafe(scene).IsSuccess); // 既にロードしたシーンなので失敗 Assert.False(game.LoadSceneUnsafe(scene).IsSuccess); // 取得に成功 Assert.True(game.GetSceneUnsafe <Scene>(scene.InstanceGuid).IsSuccess); // アンロードに成功 Assert.True(game.UnloadSceneUnsafe(scene).IsSuccess); // 既にアンロードされているので失敗 Assert.False(game.UnloadSceneUnsafe(scene).IsSuccess); }