Second commit

This commit is contained in:
ThomasCharester committed 2026-09-20 15:26:03 +03:00
commit 36840f3ad4
999 files changed
+61364

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
[InitializeOnLoad]
public class StartFromBootstrap
{
static StartFromBootstrap()
{
var scenePath = "Assets/Infrastructure/Bootstrap.unity";
var sceneAsset = AssetDatabase.LoadAssetAtPath<SceneAsset>(scenePath);
if (sceneAsset != null)
EditorSceneManager.playModeStartScene = sceneAsset;
else
Debug.LogError("Could not find scene at " + scenePath);
}
}
#endif