diff --git a/l2-unity/Assets/Resources/Data/Effects/skybox/L2Sky.mat b/l2-unity/Assets/Resources/Data/Effects/skybox/L2Sky.mat index 4cc2fe3d1..00981a271 100644 --- a/l2-unity/Assets/Resources/Data/Effects/skybox/L2Sky.mat +++ b/l2-unity/Assets/Resources/Data/Effects/skybox/L2Sky.mat @@ -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} @@ -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 @@ -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.470038, g: -0.7470802, b: -0.47003803, a: 0} + - _MainLightRight: {r: 0.7071067, g: 0, b: -0.7071069, a: 0} + - _MainLightUp: {r: 0.52826554, g: -0.6647341, b: 0.5282655, a: 0} - _SunMoonColor: {r: 1, g: 1, b: 1, a: 0} m_BuildTextureStacks: [] m_AllowLocking: 1 diff --git a/l2-unity/Assets/Resources/Data/UI/_Elements/Game/InventoryWindow/InventoryWindow.uss b/l2-unity/Assets/Resources/Data/UI/_Elements/Game/InventoryWindow/InventoryWindow.uss index fa1143f7c..8f6efd68b 100644 --- a/l2-unity/Assets/Resources/Data/UI/_Elements/Game/InventoryWindow/InventoryWindow.uss +++ b/l2-unity/Assets/Resources/Data/UI/_Elements/Game/InventoryWindow/InventoryWindow.uss @@ -25,8 +25,8 @@ opacity: 1; } -.inventory-window #unity-content-viewport { - margin: 0; +.inventory-window .l2-scroll-view #unity-content-viewport { + margin-bottom: 0; padding: 0; } @@ -209,51 +209,12 @@ padding-top: 0; padding-bottom: 0; padding-left: 5px; - height: 36px; + height: 38px; flex-direction: row; flex-grow: 0; padding-right: 3px; } -.inventory-tab-view-container { - flex-grow: 1; - flex-shrink: 0; - flex-direction: column; - padding-left: 0; - padding-top: 5px; - padding-right: 0; - padding-bottom: 0; -} - -.inventory-tab-header-container { - flex-direction: row-reverse; - margin-left: 8px; - margin-bottom: -4px; -} - -.inventory-tab-content-container { - flex-grow: 1; - flex-shrink: 0; - flex-direction: column-reverse; - background-image: resource('Data/UI/Assets/Tab/Tab_DF_bg'); - -unity-slice-left: 10; - -unity-slice-top: 10; - -unity-slice-right: 10; - -unity-slice-bottom: 10; - padding-top: 7px; - padding-right: 4px; - padding-bottom: 8px; - padding-left: 6px; - margin-bottom: 0; -} - -.inventory-tab-line { - flex-grow: 1; - margin-right: 5px; - background-image: resource('Data/UI/Assets/Tab/Tab_DF_Bg_line'); - margin-bottom: -7px; -} - .inventory-button { width: 36px; height: 36px; @@ -274,7 +235,7 @@ margin-left: 0; } -.item-statistics-container { +.inventory-window .item-statistics-container { margin-top: 0; margin-right: 0; margin-bottom: 0; @@ -289,7 +250,7 @@ width: 165px; } -.item-statistic-icons { +.inventory-window .item-statistic-icons { flex-direction: column; margin-top: 0; margin-right: 0; @@ -301,7 +262,7 @@ left: 10px; } -.item-statistic-icon { +.inventory-window .item-statistic-icon { flex-grow: 1; width: 32px; height: 16px; @@ -404,4 +365,43 @@ top: 17px; left: auto; right: 30px; +} + +.inventory-window .l2-tab-view { + flex-grow: 1; + flex-shrink: 0; + flex-direction: column; + padding-left: 0; + padding-top: 5px; + padding-right: 0; + padding-bottom: 0; +} + +.inventory-window .l2-tab-view .tab-header-container { + flex-direction: row-reverse; + margin-left: 8px; + margin-bottom: -4px; +} + +.inventory-window .l2-tab-view .tab-content-container { + flex-grow: 1; + flex-shrink: 0; + flex-direction: column-reverse; + background-image: resource('Data/UI/Assets/Tab/Tab_DF_bg'); + -unity-slice-left: 10; + -unity-slice-top: 10; + -unity-slice-right: 10; + -unity-slice-bottom: 10; + padding-bottom: 5px; + padding-top: 3px; + padding-right: 3px; + padding-left: 3px; + margin-bottom: 0; +} + +.inventory-window .l2-tab-view .tab-line { + flex-grow: 1; + margin-right: 5px; + background-image: resource('Data/UI/Assets/Tab/Tab_DF_Bg_line'); + margin-bottom: -7px; } \ No newline at end of file diff --git a/l2-unity/Assets/Resources/Scenes/Game.unity b/l2-unity/Assets/Resources/Scenes/Game.unity index 42f7088aa..cf5d0d810 100644 --- a/l2-unity/Assets/Resources/Scenes/Game.unity +++ b/l2-unity/Assets/Resources/Scenes/Game.unity @@ -358,6 +358,42 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!21 &330517806 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Height Fog Global + m_Shader: {fileID: 4800000, guid: 3a7ef1b66bafb7a448a880ef76d2e6e6, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: [] + m_Ints: [] + m_Floats: + - _AdvancedCat: 1 + - _Banner: 1 + - _DirectionalCat: 1 + - _FogCat: 1 + - _HeightFogGlobal: 1 + - _IsHeightFogShader: 1 + - _NoiseCat: 1 + - _SkyboxCat: 1 + m_Colors: [] + m_BuildTextureStacks: [] + m_AllowLocking: 1 --- !u!21 &364615026 Material: serializedVersion: 8 @@ -1553,76 +1589,6 @@ Material: - _SpecColor: {r: 1, g: 1, b: 1, a: 1} m_BuildTextureStacks: [] m_AllowLocking: 1 ---- !u!21 &808033065 -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 &1002695749 Material: serializedVersion: 8 @@ -1945,19 +1911,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3} propertyPath: m_LocalRotation.w - value: 0.35244504 + value: 0.37849987 objectReference: {fileID: 0} - target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3} propertyPath: m_LocalRotation.x - value: 0.85401165 + value: 0.84278774 objectReference: {fileID: 0} - target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3} propertyPath: m_LocalRotation.y - value: 0.14598753 + value: 0.1567798 objectReference: {fileID: 0} - target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3} propertyPath: m_LocalRotation.z - value: -0.35374326 + value: -0.34909415 objectReference: {fileID: 0} - target: {fileID: 7988497584237515198, guid: 824ee6870a432f9439e35ee4e771a1f5, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -2012,42 +1978,6 @@ Transform: m_Children: [] m_Father: {fileID: 581901348} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!21 &1224487394 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Height Fog Global - m_Shader: {fileID: 4800000, guid: 3a7ef1b66bafb7a448a880ef76d2e6e6, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: [] - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: {} - disabledShaderPasses: [] - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: [] - m_Ints: [] - m_Floats: - - _AdvancedCat: 1 - - _Banner: 1 - - _DirectionalCat: 1 - - _FogCat: 1 - - _HeightFogGlobal: 1 - - _IsHeightFogShader: 1 - - _NoiseCat: 1 - - _SkyboxCat: 1 - m_Colors: [] - m_BuildTextureStacks: [] - m_AllowLocking: 1 --- !u!21 &1241030459 Material: serializedVersion: 8 @@ -2188,6 +2118,76 @@ Material: - _SpecColor: {r: 1, g: 1, b: 1, a: 1} m_BuildTextureStacks: [] m_AllowLocking: 1 +--- !u!21 &1269605096 +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!1 &1376216260 GameObject: m_ObjectHideFlags: 0 @@ -3684,6 +3684,10 @@ PrefabInstance: propertyPath: nameplateHeightMultiplier value: 1.95 objectReference: {fileID: 0} + - target: {fileID: 7106220370365892636, guid: d5d2a11e1a77f80418a7d8b1ec2abd25, type: 3} + propertyPath: _tabs.Array.data[0]._mainTab + value: 1 + objectReference: {fileID: 0} - target: {fileID: 8310766140472177322, guid: d5d2a11e1a77f80418a7d8b1ec2abd25, type: 3} propertyPath: m_Name value: UI diff --git a/l2-unity/Assets/Resources/Scenes/Menu.unity b/l2-unity/Assets/Resources/Scenes/Menu.unity index 0f6484675..77bc29202 100644 --- a/l2-unity/Assets/Resources/Scenes/Menu.unity +++ b/l2-unity/Assets/Resources/Scenes/Menu.unity @@ -20,10 +20,10 @@ RenderSettings: m_FogDensity: 0.01 m_LinearFogStart: 0 m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.4528302, g: 0.4528302, b: 0.4528302, a: 0.5} + m_AmbientSkyColor: {r: 0.30980393, g: 0.30980393, b: 0.30980393, a: 1} m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} - m_AmbientIntensity: 0.5 + m_AmbientIntensity: 0.2 m_AmbientMode: 3 m_SubtractiveShadowColor: {r: 1, g: 1, b: 1, a: 1} m_SkyboxMaterial: {fileID: 2100000, guid: 74e09fc0417b6f94c95b3a55ae362ec9, type: 2} @@ -179,6 +179,42 @@ Transform: m_CorrespondingSourceObject: {fileID: 2739411394283231357, guid: b8058b387f238e743a236dc7eb14218d, type: 3} m_PrefabInstance: {fileID: 3260462222721604201} m_PrefabAsset: {fileID: 0} +--- !u!21 &330517806 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Height Fog Global + m_Shader: {fileID: 4800000, guid: 3a7ef1b66bafb7a448a880ef76d2e6e6, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: [] + m_Ints: [] + m_Floats: + - _AdvancedCat: 1 + - _Banner: 1 + - _DirectionalCat: 1 + - _FogCat: 1 + - _HeightFogGlobal: 1 + - _IsHeightFogShader: 1 + - _NoiseCat: 1 + - _SkyboxCat: 1 + m_Colors: [] + m_BuildTextureStacks: [] + m_AllowLocking: 1 --- !u!4 &348931029 stripped Transform: m_CorrespondingSourceObject: {fileID: 2427567039544435291, guid: 61d17eba8ddc9de41a84d9649422a179, type: 3} @@ -376,6 +412,10 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: + - target: {fileID: 842763773635486120, guid: 2bc6245aea0342f4f8c76719bfe12012, type: 3} + propertyPath: _loading + value: 0 + objectReference: {fileID: 0} - target: {fileID: 842763773635486120, guid: 2bc6245aea0342f4f8c76719bfe12012, type: 3} propertyPath: _autoLogin value: 0 @@ -1054,7 +1094,7 @@ PrefabInstance: - target: {fileID: 14083907825353274, guid: 8742fc349ac4f354d9cfb98ebb79a0e3, type: 3} propertyPath: 'm_Materials.Array.data[0]' value: - objectReference: {fileID: 1207216659} + objectReference: {fileID: 330517806} - target: {fileID: 2134954596300280144, guid: 8742fc349ac4f354d9cfb98ebb79a0e3, type: 3} propertyPath: m_Name value: Height Fog Global @@ -1194,42 +1234,6 @@ Transform: m_CorrespondingSourceObject: {fileID: 2018473782570864008, guid: c62264f2126e2b54bb9750d4e55a9881, type: 3} m_PrefabInstance: {fileID: 818515487845165693} m_PrefabAsset: {fileID: 0} ---- !u!21 &1207216659 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Height Fog Global - m_Shader: {fileID: 4800000, guid: 3a7ef1b66bafb7a448a880ef76d2e6e6, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: [] - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: {} - disabledShaderPasses: [] - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: [] - m_Ints: [] - m_Floats: - - _AdvancedCat: 1 - - _Banner: 1 - - _DirectionalCat: 1 - - _FogCat: 1 - - _HeightFogGlobal: 1 - - _IsHeightFogShader: 1 - - _NoiseCat: 1 - - _SkyboxCat: 1 - m_Colors: [] - m_BuildTextureStacks: [] - m_AllowLocking: 1 --- !u!1 &1212301096 GameObject: m_ObjectHideFlags: 0 @@ -1342,6 +1346,76 @@ Transform: - {fileID: 138039827} m_Father: {fileID: 1212301097} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!21 &1269605096 +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!4 &1321409734 stripped Transform: m_CorrespondingSourceObject: {fileID: 6756565227048195884, guid: fd5b2b8e2dd2048408abed0e14b6ae44, type: 3} @@ -1694,76 +1768,6 @@ Transform: m_CorrespondingSourceObject: {fileID: 5559910820536787365, guid: 5c47efce44fcc384ab6b0ba129efbe07, type: 3} m_PrefabInstance: {fileID: 2356643007352247247} m_PrefabAsset: {fileID: 0} ---- !u!21 &1833515765 -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!4 &1865913877 stripped Transform: m_CorrespondingSourceObject: {fileID: 5887943604173410154, guid: 32ade5df81389284ea6b6ba1e9ff5e11, type: 3} diff --git a/l2-unity/Assets/Scripts/UI/Game/Action/ActionWindow.cs b/l2-unity/Assets/Scripts/UI/Game/Action/ActionWindow.cs index 485aef686..8604449d0 100644 --- a/l2-unity/Assets/Scripts/UI/Game/Action/ActionWindow.cs +++ b/l2-unity/Assets/Scripts/UI/Game/Action/ActionWindow.cs @@ -6,7 +6,6 @@ public class ActionWindow : L2PopupWindow { private const int SLOTS_PER_ROW = 8; - private VisualTreeAsset _slotTemplate; private VisualElement _basicContainer; private VisualElement _partyContainer; private VisualElement _tokenContainer; @@ -36,7 +35,6 @@ private void OnDestroy() protected override void LoadAssets() { _windowTemplate = LoadAsset("Data/UI/_Elements/Game/ActionWindow/ActionWindow"); - _slotTemplate = LoadAsset("Data/UI/_Elements/Components/L2Slot/ActionSlot"); } protected override void InitWindow(VisualElement root) @@ -115,7 +113,7 @@ protected override IEnumerator BuildWindow(VisualElement root) private ActionSlot AddSlot(int position, VisualElement container) { - VisualElement slotElement = _slotTemplate.Instantiate()[0]; + VisualElement slotElement = L2SlotManager.Instance.ActionSlotTemplate.Instantiate()[0]; container.Add(slotElement); ActionSlot slot = new ActionSlot(slotElement, position, L2Slot.SlotType.Action); diff --git a/l2-unity/Assets/Scripts/UI/Game/Chat/ChatTab.cs b/l2-unity/Assets/Scripts/UI/Game/Chat/ChatTab.cs index ae78a4bda..8e5989c86 100644 --- a/l2-unity/Assets/Scripts/UI/Game/Chat/ChatTab.cs +++ b/l2-unity/Assets/Scripts/UI/Game/Chat/ChatTab.cs @@ -8,6 +8,7 @@ public class ChatTab : L2Tab [SerializeField] private List _filteredMessages; public List FilteredMessages { get { return _filteredMessages; } } private int _messageCount = 0; + private L2Scrollable _l2scrollable; private Label _content; public Label Content { get { return _content; } } @@ -17,7 +18,10 @@ public override void Initialize(L2TabView tabView, VisualElement tabContainer, V base.Initialize(tabView, tabContainer, tabHeader); _content = tabContainer.Q