Skip to content

Commit

Permalink
feat: loading screen (Unity-Technologies#427)
Browse files Browse the repository at this point in the history
* Added loading screen

* Added SceneLoaderWrapper to control the loading screen

Co-authored-by: Fernando Cortez <[email protected]>
Co-authored-by: Sam Bellomo <[email protected]>
  • Loading branch information
3 people authored Apr 12, 2022
1 parent 374a7a5 commit fdfaaa9
Show file tree
Hide file tree
Showing 21 changed files with 1,215 additions and 17 deletions.
75 changes: 75 additions & 0 deletions Assets/BossRoom/Prefabs/SceneLoader.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5970766024194302363
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7533068275093218427}
- component: {fileID: 2071498811241465156}
- component: {fileID: 8734696198808489477}
m_Layer: 0
m_Name: SceneLoader
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7533068275093218427
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5970766024194302363}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2071498811241465156
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5970766024194302363}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d202c9ed4a2c4a6fa83f21f1c21394ea, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ScenesTriggeringLoadingScreen:
- MainMenu
- CharSelect
- PostGame
- BossRoom
m_ScenesEndingLoadingScreen:
- MainMenu
- CharSelect
- PostGame
- DungeonEntrance
- DungeonTransition
- DungeonBossRoom
m_ClientLoadingScreen: {fileID: 0}
--- !u!114 &8734696198808489477
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5970766024194302363}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3}
m_Name:
m_EditorClassIdentifier:
GlobalObjectIdHash: 951099334
AlwaysReplicateAsRoot: 0
DontDestroyWithOwner: 0
AutoObjectParentSync: 1
7 changes: 7 additions & 0 deletions Assets/BossRoom/Prefabs/SceneLoader.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fdfaaa9

Please sign in to comment.