Skip to content

Commit

Permalink
ingame/restart states, waiting for UI to load and world before load c…
Browse files Browse the repository at this point in the history
…omplete event
  • Loading branch information
shnok committed Dec 4, 2024
1 parent 1e67ba0 commit 48ba8c3
Show file tree
Hide file tree
Showing 41 changed files with 465 additions and 282 deletions.
16 changes: 8 additions & 8 deletions l2-unity/Assets/Resources/Data/Effects/skybox/L2Sky.mat
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SunMoon:
m_Texture: {fileID: 2800000, guid: 87bfdbc0202b0e440b4b25a3824f15db, type: 3}
m_Scale: {x: 1.5, y: 1.5}
m_Texture: {fileID: 2800000, guid: b443728fc86061b4f8ecbe8a96c9d2ef, type: 3}
m_Scale: {x: 2.5, y: 2.5}
m_Offset: {x: 0.5, y: 0.5}
- unity_Lightmaps:
m_Texture: {fileID: 0}
Expand All @@ -70,13 +70,13 @@ Material:
- _Cloud_Cutoff: 4.01
- _Cloud_Distance: 0.8
- _Clouds_Far_Tiling: 0.352
- _Clouds_Opacity: 2.54
- _Clouds_Opacity: 0.12
- _Clouds_Tiling: 0.12
- _GradientColor1Influence: 0.6
- _GradientColor2Influence: 0.5
- _HorizonCloudsRotationSpeed: -0.1
- _Horizon_Clouds_Height: 1.44
- _Horizon_Clouds_Opacity: 1
- _Horizon_Clouds_Opacity: 0.05
- _Horizon_Clouds_X_Tile: 1
- _Horizon_Clouds_Y_Tile: 3.17
- _QueueControl: 0
Expand All @@ -92,12 +92,12 @@ Material:
- _Stars_Y_Tile: 1
- _SunMoonSize: 0.13
m_Colors:
- _GradientColor1: {r: 0, g: 0.3529412, b: 0.54901963, a: 1}
- _GradientColor1: {r: -0.003921569, g: -0.003921569, b: -0.007843138, a: -1}
- _GradientColor2: {r: 0, g: 0, b: 0, a: 1}
- _GradientColor3: {r: 6.1592746, g: 6.7682424, b: 7.37721, a: 1}
- _MainLightForward: {r: -0.0835492, g: -0.992995, b: -0.08354923, a: 0}
- _MainLightRight: {r: 0.7071067, g: 0, b: -0.7071068, a: 0}
- _MainLightUp: {r: 0.70215356, g: -0.11815645, b: 0.70215344, a: 0}
- _MainLightForward: {r: 0.6924627, g: -0.20246276, b: 0.6924625, a: 0}
- _MainLightRight: {r: 0.7071067, g: 0, b: -0.70710695, a: 0}
- _MainLightUp: {r: 0.14316282, g: 0.97928995, b: 0.14316279, a: 0}
- _SunMoonColor: {r: 1, g: 1, b: 1, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
154 changes: 79 additions & 75 deletions l2-unity/Assets/Resources/Scenes/Game.unity
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,76 @@ Transform:
- {fileID: 1093349308}
m_Father: {fileID: 760118614}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!21 &731820638
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Override
m_Shader: {fileID: 4800000, guid: a3a3bc8785681554d9558e2ea68f100e, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats:
- _AdvancedCat: 1
- _Banner: 1
- _DirectionalCat: 1
- _DirectionalFalloff: 2
- _DirectionalIntensity: 1
- _FarDistanceHeight: 0
- _FarDistanceOffset: 0
- _FogAxisMode: 1
- _FogCameraMode: 0
- _FogCat: 1
- _FogColorDuo: 1
- _FogDistanceEnd: 100
- _FogDistanceFalloff: 2
- _FogDistanceStart: 0
- _FogHeightEnd: 100
- _FogHeightFalloff: 2
- _FogHeightStart: 0
- _FogIntensity: 1
- _FogLayersMode: 0
- _IsHeightFogPreset: 1
- _IsHeightFogShader: 1
- _JitterIntensity: 1
- _NoiseCat: 1
- _NoiseDistanceEnd: 50
- _NoiseIntensity: 1
- _NoiseMax: 1
- _NoiseMin: 0
- _NoiseModeBlend: 1
- _NoiseScale: 30
- _SkyboxCat: 1
- _SkyboxFogBottom: 0
- _SkyboxFogFalloff: 1
- _SkyboxFogFill: 1
- _SkyboxFogHeight: 1
- _SkyboxFogIntensity: 1
- _SkyboxFogOffset: 0
m_Colors:
- _DirectionalColor: {r: 1, g: 0.7793103, b: 0.5, a: 1}
- _DirectionalDir: {r: 0, g: 0, b: 0, a: 0}
- _FogAxisOption: {r: 0, g: 0, b: 0, a: 0}
- _FogColorEnd: {r: 0.8862745, g: 1.443137, b: 2, a: 1}
- _FogColorStart: {r: 0.4411765, g: 0.722515, b: 1, a: 1}
- _NoiseSpeed: {r: 0.5, g: 0, b: 0.5, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!21 &734869360
Material:
serializedVersion: 8
Expand Down Expand Up @@ -1875,19 +1945,19 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3}
propertyPath: m_LocalRotation.w
value: 0.91915315
value: 0.9191212
objectReference: {fileID: 0}
- target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3}
propertyPath: m_LocalRotation.x
value: 0.093332164
value: 0.09364617
objectReference: {fileID: 0}
- target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3}
propertyPath: m_LocalRotation.y
value: 0.38072574
value: 0.3807125
objectReference: {fileID: 0}
- target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3}
propertyPath: m_LocalRotation.z
value: -0.03865945
value: -0.03878952
objectReference: {fileID: 0}
- target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
Expand All @@ -1911,7 +1981,7 @@ Transform:
m_CorrespondingSourceObject: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3}
m_PrefabInstance: {fileID: 1093349307}
m_PrefabAsset: {fileID: 0}
--- !u!21 &1095865997
--- !u!21 &1153295999
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3445,76 +3515,6 @@ Material:
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!21 &2133619757
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Override
m_Shader: {fileID: 4800000, guid: a3a3bc8785681554d9558e2ea68f100e, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats:
- _AdvancedCat: 1
- _Banner: 1
- _DirectionalCat: 1
- _DirectionalFalloff: 2
- _DirectionalIntensity: 1
- _FarDistanceHeight: 0
- _FarDistanceOffset: 0
- _FogAxisMode: 1
- _FogCameraMode: 0
- _FogCat: 1
- _FogColorDuo: 1
- _FogDistanceEnd: 100
- _FogDistanceFalloff: 2
- _FogDistanceStart: 0
- _FogHeightEnd: 100
- _FogHeightFalloff: 2
- _FogHeightStart: 0
- _FogIntensity: 1
- _FogLayersMode: 0
- _IsHeightFogPreset: 1
- _IsHeightFogShader: 1
- _JitterIntensity: 1
- _NoiseCat: 1
- _NoiseDistanceEnd: 50
- _NoiseIntensity: 1
- _NoiseMax: 1
- _NoiseMin: 0
- _NoiseModeBlend: 1
- _NoiseScale: 30
- _SkyboxCat: 1
- _SkyboxFogBottom: 0
- _SkyboxFogFalloff: 1
- _SkyboxFogFill: 1
- _SkyboxFogHeight: 1
- _SkyboxFogIntensity: 1
- _SkyboxFogOffset: 0
m_Colors:
- _DirectionalColor: {r: 1, g: 0.7793103, b: 0.5, a: 1}
- _DirectionalDir: {r: 0, g: 0, b: 0, a: 0}
- _FogAxisOption: {r: 0, g: 0, b: 0, a: 0}
- _FogColorEnd: {r: 0.8862745, g: 1.443137, b: 2, a: 1}
- _FogColorStart: {r: 0.4411765, g: 0.722515, b: 1, a: 1}
- _NoiseSpeed: {r: 0.5, g: 0, b: 0.5, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!1001 &38199690736628172
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3688,6 +3688,10 @@ PrefabInstance:
propertyPath: m_Name
value: UI
objectReference: {fileID: 0}
- target: {fileID: 9166659596877626494, guid: d5d2a11e1a77f80418a7d8b1ec2abd25, type: 3}
propertyPath: _totalWindowsToLoad
value: 12
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down
Loading

0 comments on commit 48ba8c3

Please sign in to comment.