mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-27 22:11:39 +00:00
refactor: remove bootstrapper from headless scene
because RD bootstrapper was refactored into a scriptableobject that boots before any scene.
This commit is contained in:
committed by
alexiscatnip
parent
6200fd0160
commit
2dc51e1b6f
@@ -132,7 +132,6 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 184716088}
|
||||
- component: {fileID: 184716087}
|
||||
m_Layer: 0
|
||||
m_Name: Bootstrapper
|
||||
m_TagString: Untagged
|
||||
@@ -140,18 +139,6 @@ GameObject:
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &184716087
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 184716086}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fa61eabca29ec274e822d94f50702a99, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &184716088
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -21,12 +21,6 @@ namespace Raindrop.Tests.RaindropIntegrationTests.Helpers
|
||||
yield return null;
|
||||
}
|
||||
|
||||
var bootstrap = GameObject.Find("Bootstrapper");
|
||||
Assert.True(bootstrap, "bootstrapper object not found");
|
||||
var raindropBootstrapper =
|
||||
bootstrap.GetComponent<RaindropBootstrapper>();
|
||||
Assert.True(raindropBootstrapper);
|
||||
|
||||
var instance = RaindropInstance.GlobalInstance;
|
||||
Assert.True(instance != null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user