Land Explorer in HomeCamp with boot loading, journal UI, and CDN publish tooling.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -26,7 +26,14 @@ public static class SetupBootScene
|
||||
}
|
||||
|
||||
var bootGo = new GameObject("Boot");
|
||||
bootGo.AddComponent<AOT.Boot.BootDriver>();
|
||||
var driver = bootGo.AddComponent<AOT.Boot.BootDriver>();
|
||||
var loading = AssetDatabase.LoadAssetAtPath<GameObject>(AIGame.EditorTools.BuildBootLoading.PrefabPath);
|
||||
if (loading != null)
|
||||
{
|
||||
var so = new SerializedObject(driver);
|
||||
so.FindProperty("loadingPrefab").objectReferenceValue = loading.GetComponent<AOT.UI.BootPatchView>();
|
||||
so.ApplyModifiedPropertiesWithoutUndo();
|
||||
}
|
||||
|
||||
Directory.CreateDirectory("Assets/Scenes");
|
||||
UnityEditor.SceneManagement.EditorSceneManager.SaveScene(scene, ScenePath);
|
||||
|
||||
Reference in New Issue
Block a user