diff --git a/Assets/Fonts/Source Han Serif/Materials/Source Han Serif Heavy - Round Hint.mat b/Assets/Fonts/Source Han Serif/Materials/Source Han Serif Heavy - Round Hint.mat new file mode 100644 index 00000000..9e35c47e --- /dev/null +++ b/Assets/Fonts/Source Han Serif/Materials/Source Han Serif Heavy - Round Hint.mat @@ -0,0 +1,684 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Source Han Serif Heavy - Round Hint + m_Shader: {fileID: 4800000, guid: bb134d7d4389e3a45a6c49e898a344a4, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _ENABLEFULLDISTORTION_ON + - _ENABLEFULLGLOWDISSOLVE_ON + - _ISTEXTMESHPRO_ON + - _ISTEXT_ON + - _SHADERFADING_NONE + - _SHADERSPACE_UV + - _TEXTURELAYER1SHEETTOGGLE_ON + - _TEXTURELAYER2SHEETTOGGLE_ON + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _AddColorMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _AddHueMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _Cube: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _CustomFadeFadeMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _FaceTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _FadingMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _InnerOutlineTintTexture: + m_Texture: {fileID: 2800000, guid: 5af9a397a8643994c829e696a24a7845, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 3478508905436604770, guid: bed6ac8052bf6ad45ab264ebde048831, type: 2} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetalMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OuterOutlineTintTexture: + m_Texture: {fileID: 2800000, guid: 5af9a397a8643994c829e696a24a7845, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OutlineTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _PixelOutlineTintTexture: + m_Texture: {fileID: 2800000, guid: 5af9a397a8643994c829e696a24a7845, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _RecolorRGBTexture: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _RecolorRGBYCPTexture: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ShineMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SineGlowMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _StrongTintMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TextureLayer1Texture: + m_Texture: {fileID: 2800000, guid: 9685c3a024e22a946a7e8c2ce3542300, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TextureLayer2Texture: + m_Texture: {fileID: 2800000, guid: 9685c3a024e22a946a7e8c2ce3542300, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _UVDistortMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _UberNoiseTexture: + m_Texture: {fileID: 2800000, guid: b8d18cd117976254d94a812a0bfc336e, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _texcoord: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddColorContrast: 0.5 + - _AddColorContrastToggle: 0 + - _AddColorFade: 1 + - _AddColorMaskToggle: 0 + - _AddHueBrightness: 2 + - _AddHueContrast: 0.5 + - _AddHueFade: 1 + - _AddHueMaskToggle: 0 + - _AddHueSaturation: 1 + - _AddHueSpeed: 1 + - _AlphaTintFade: 1 + - _AlphaTintMinAlpha: 0.02 + - _Ambient: 0.5 + - _BakedMaterial: 0 + - _Bevel: 0.5 + - _BevelClamp: 0 + - _BevelOffset: 0 + - _BevelRoundness: 0 + - _BevelWidth: 0 + - _BlackTintFade: 1 + - _BlackTintPower: 4 + - _Brightness: 1 + - _BumpFace: 0 + - _BumpOutline: 0 + - _BurnEdgeNoiseFactor: 0.5 + - _BurnFade: 1 + - _BurnInsideContrast: 2 + - _BurnInsideNoiseFactor: 0.2 + - _BurnRadius: 5 + - _BurnSwirlFactor: 1 + - _BurnWidth: 0.1 + - _CamouflageAnimationToggle: 0 + - _CamouflageContrast: 1 + - _CamouflageDensityA: 0.4 + - _CamouflageDensityB: 0.4 + - _CamouflageFade: 1 + - _CamouflageSmoothnessA: 0.2 + - _CamouflageSmoothnessB: 0.2 + - _CheckerboardDarken: 0.5 + - _CheckerboardTiling: 1 + - _ColorMask: 15 + - _ColorReplaceContrast: 1 + - _ColorReplaceFade: 1 + - _ColorReplaceRange: 0.05 + - _ColorReplaceSmoothness: 0.1 + - _Contrast: 1 + - _CullMode: 0 + - _CustomFadeAlpha: 1 + - _CustomFadeNoiseFactor: 0 + - _CustomFadeSmoothness: 2 + - _Diffuse: 0.5 + - _DirectionalAlphaFadeFade: 0 + - _DirectionalAlphaFadeInvert: 0 + - _DirectionalAlphaFadeNoiseFactor: 0.2 + - _DirectionalAlphaFadeRotation: 0 + - _DirectionalAlphaFadeWidth: 0.2 + - _DirectionalDistortionFade: 0 + - _DirectionalDistortionInvert: 0 + - _DirectionalDistortionNoiseFactor: 0.2 + - _DirectionalDistortionRandomDirection: 0.1 + - _DirectionalDistortionRotation: 0 + - _DirectionalDistortionWidth: 0.5 + - _DirectionalGlowFadeFade: 0 + - _DirectionalGlowFadeInvert: 0 + - _DirectionalGlowFadeNoiseFactor: 0.2 + - _DirectionalGlowFadeRotation: 0 + - _DirectionalGlowFadeWidth: 0.1 + - _EnableAddColor: 0 + - _EnableAddHue: 0 + - _EnableAlphaTint: 0 + - _EnableBlackTint: 0 + - _EnableBrightness: 0 + - _EnableBurn: 0 + - _EnableCamouflage: 0 + - _EnableCheckerboard: 0 + - _EnableColorReplace: 0 + - _EnableContrast: 0 + - _EnableCustomFade: 0 + - _EnableDirectionalAlphaFade: 0 + - _EnableDirectionalDistortion: 0 + - _EnableDirectionalGlowFade: 0 + - _EnableEnchanted: 0 + - _EnableFlame: 0 + - _EnableFrozen: 0 + - _EnableFullAlphaDissolve: 0 + - _EnableFullDistortion: 1 + - _EnableFullGlowDissolve: 1 + - _EnableGaussianBlur: 0 + - _EnableGlitch: 0 + - _EnableHalftone: 0 + - _EnableHologram: 0 + - _EnableHue: 0 + - _EnableInkSpread: 0 + - _EnableInnerOutline: 0 + - _EnableMetal: 0 + - _EnableNegative: 0 + - _EnableOuterOutline: 0 + - _EnablePingPongGlow: 0 + - _EnablePixelOutline: 0 + - _EnablePixelate: 0 + - _EnablePoison: 0 + - _EnableRainbow: 0 + - _EnableRecolorRGB: 0 + - _EnableRecolorRGBYCP: 0 + - _EnableSaturation: 0 + - _EnableScreenTiling: 0 + - _EnableShadow: 0 + - _EnableSharpen: 0 + - _EnableShiftHue: 0 + - _EnableShifting: 0 + - _EnableShine: 0 + - _EnableSineGlow: 0 + - _EnableSineMove: 0 + - _EnableSineRotate: 0 + - _EnableSineScale: 0 + - _EnableSmoke: 0 + - _EnableSmoothPixelArt: 0 + - _EnableSourceAlphaDissolve: 0 + - _EnableSourceGlowDissolve: 0 + - _EnableSplitToning: 0 + - _EnableSqueeze: 0 + - _EnableSquish: 0 + - _EnableStrongTint: 0 + - _EnableTextureLayer1: 0 + - _EnableTextureLayer2: 0 + - _EnableUVDistort: 0 + - _EnableUVRotate: 0 + - _EnableUVScale: 0 + - _EnableUVScroll: 0 + - _EnableVibrate: 0 + - _EnableWiggle: 0 + - _EnableWind: 0 + - _EnableWorldTiling: 0 + - _EnchantedBrightness: 1 + - _EnchantedContrast: 0.5 + - _EnchantedFade: 1 + - _EnchantedLerpToggle: 0 + - _EnchantedRainbowDensity: 0.5 + - _EnchantedRainbowSaturation: 0.8 + - _EnchantedRainbowSpeed: 0.5 + - _EnchantedRainbowToggle: 0 + - _EnchantedReduce: 0 + - _FaceDilate: 0 + - _FaceUVSpeedX: 0 + - _FaceUVSpeedY: 0 + - _FadingFade: 1 + - _FadingNoiseFactor: 0.2 + - _FadingWidth: 0.3 + - _FlameBrightness: 10 + - _FlameNoiseFactor: 2.5 + - _FlameNoiseHeightFactor: 1.5 + - _FlameRadius: 0.2 + - _FlameSmooth: 2 + - _FrozenContrast: 2 + - _FrozenFade: 1 + - _FrozenHighlightContrast: 2 + - _FrozenHighlightDensity: 1 + - _FrozenSnowContrast: 1 + - _FrozenSnowDensity: 0.25 + - _FullAlphaDissolveFade: 0.5 + - _FullAlphaDissolveWidth: 0.5 + - _FullDistortionFade: 1 + - _FullGlowDissolveFade: 1 + - _FullGlowDissolveWidth: 0.5 + - _GaussianBlurFade: 1 + - _GaussianBlurOffset: 0.5 + - _GlitchBrightness: 4 + - _GlitchFade: 1 + - _GlitchHueSpeed: 1 + - _GlitchMaskMin: 0.4 + - _GlowInner: 0.05 + - _GlowOffset: 0 + - _GlowOuter: 0.05 + - _GlowPower: 0.75 + - _GradientScale: 6 + - _HalftoneFade: 1 + - _HalftoneFadeWidth: 1.5 + - _HalftoneInvert: 0 + - _HalftoneTiling: 4 + - _HologramContrast: 1 + - _HologramDistortionDensity: 0.5 + - _HologramDistortionOffset: 0.5 + - _HologramDistortionScale: 10 + - _HologramDistortionSpeed: 2 + - _HologramFade: 1 + - _HologramLineFrequency: 500 + - _HologramLineGap: 3 + - _HologramLineSpeed: 0.01 + - _HologramMinAlpha: 0.2 + - _Hue: 0 + - _InkSpreadContrast: 2 + - _InkSpreadDistance: 3 + - _InkSpreadFade: 1 + - _InkSpreadNoiseFactor: 0.5 + - _InkSpreadWidth: 0.2 + - _InnerOutlineDistortionToggle: 0 + - _InnerOutlineFade: 1 + - _InnerOutlineOutlineOnlyToggle: 0 + - _InnerOutlineTextureToggle: 0 + - _InnerOutlineWidth: 0.02 + - _IsText: 1 + - _IsTextMeshPro: 1 + - _LightAngle: 3.1416 + - _MaskSoftnessX: 0 + - _MaskSoftnessY: 0 + - _MetalContrast: 2 + - _MetalFade: 1 + - _MetalHighlightContrast: 2 + - _MetalHighlightDensity: 1 + - _MetalMaskToggle: 0 + - _NegativeFade: 1 + - _OuterOutlineDistortionToggle: 0 + - _OuterOutlineFade: 1 + - _OuterOutlineOutlineOnlyToggle: 0 + - _OuterOutlineTextureToggle: 0 + - _OuterOutlineWidth: 0.04 + - _OutlineSoftness: 0 + - _OutlineUVSpeedX: 0 + - _OutlineUVSpeedY: 0 + - _OutlineWidth: 0.5 + - _PerspectiveFilter: 0.875 + - _PingPongGlowContrast: 1 + - _PingPongGlowFade: 1 + - _PingPongGlowFrequency: 3 + - _PixelOutlineAlphaLimit: 0.5 + - _PixelOutlineFade: 1 + - _PixelOutlineOutlineOnlyToggle: 0 + - _PixelOutlineTextureToggle: 0 + - _PixelOutlineWidth: 1 + - _PixelPerfectSpace: 0 + - _PixelPerfectUV: 0 + - _PixelateFade: 1 + - _PixelatePixelDensity: 16 + - _PixelatePixelsPerUnit: 100 + - _PixelsPerUnit: 100 + - _PoisonDensity: 3 + - _PoisonFade: 1 + - _PoisonNoiseBrightness: 2 + - _PoisonRecolorFactor: 0.5 + - _PoisonShiftSpeed: 0.2 + - _RainbowBrightness: 2 + - _RainbowContrast: 1 + - _RainbowDensity: 0.5 + - _RainbowFade: 1 + - _RainbowNoiseFactor: 0.2 + - _RainbowSaturation: 1 + - _RainbowSpeed: 1 + - _RecolorRGBFade: 1 + - _RecolorRGBTextureToggle: 0 + - _RecolorRGBYCPFade: 1 + - _RecolorRGBYCPTextureToggle: 0 + - _RectHeight: 100 + - _RectWidth: 100 + - _Reflectivity: 10 + - _Saturation: 1 + - _ScaleRatioA: 0.8333333 + - _ScaleRatioB: 0.6770833 + - _ScaleRatioC: 0.6770833 + - _ScaleX: 1 + - _ScaleY: 1 + - _ScreenTilingPixelsPerUnit: 100 + - _ScreenWidthUnits: 10 + - _ShaderFading: 0 + - _ShaderFlags: 0 + - _ShaderSpace: 0 + - _ShadowFade: 1 + - _SharpenFactor: 4 + - _SharpenFade: 1 + - _SharpenOffset: 2 + - _Sharpness: 0 + - _ShiftHueSpeed: 0.5 + - _ShiftingBrightness: 1 + - _ShiftingContrast: 0.5 + - _ShiftingDensity: 1.5 + - _ShiftingFade: 1 + - _ShiftingRainbowToggle: 0 + - _ShiftingSaturation: 0.8 + - _ShiftingSpeed: 0.5 + - _ShineContrast: 2 + - _ShineFade: 1 + - _ShineFrequency: 0.3 + - _ShineMaskToggle: 0 + - _ShineRotation: 30 + - _ShineSaturation: 0.5 + - _ShineSmooth: 1 + - _ShineSpeed: 5 + - _ShineWidth: 0.1 + - _SineGlowContrast: 1 + - _SineGlowFade: 1 + - _SineGlowFrequency: 4 + - _SineGlowMaskToggle: 0 + - _SineGlowMax: 1 + - _SineGlowMin: 0 + - _SineMoveFade: 1 + - _SineRotateAngle: 15 + - _SineRotateFade: 1 + - _SineRotateFrequency: 1 + - _SineScaleFrequency: 2 + - _SmokeAlpha: 1 + - _SmokeDarkEdge: 1 + - _SmokeNoiseFactor: 0.4 + - _SmokeNoiseScale: 0.5 + - _SmokeSmoothness: 1 + - _SmokeVertexSeed: 0 + - _SourceAlphaDissolveFade: 1 + - _SourceAlphaDissolveInvert: 0 + - _SourceAlphaDissolveNoiseFactor: 0.2 + - _SourceAlphaDissolveWidth: 0.2 + - _SourceGlowDissolveFade: 1 + - _SourceGlowDissolveInvert: 0 + - _SourceGlowDissolveNoiseFactor: 0.2 + - _SourceGlowDissolveWidth: 0.1 + - _SpecularPower: 2 + - _SplitToningBalance: 1 + - _SplitToningContrast: 1 + - _SplitToningFade: 1 + - _SplitToningShift: 0 + - _SpriteSheetFix: 0 + - _SqueezeFade: 1 + - _SqueezePower: 1 + - _SquishFade: 1 + - _SquishFlip: 0 + - _SquishSquish: 0.1 + - _SquishStretch: 0.1 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _StrongTintContrast: 0 + - _StrongTintContrastToggle: 0 + - _StrongTintFade: 1 + - _StrongTintMaskToggle: 0 + - _TMPSmoothness: 5 + - _TMPThickness: -0.45 + - _TextureHeight: 1024 + - _TextureLayer1Columns: 3 + - _TextureLayer1Contrast: 1 + - _TextureLayer1ContrastToggle: 0 + - _TextureLayer1EdgeClip: 0.005 + - _TextureLayer1Fade: 1 + - _TextureLayer1Rows: 3 + - _TextureLayer1ScrollToggle: 0 + - _TextureLayer1SheetToggle: 1 + - _TextureLayer1Speed: 20 + - _TextureLayer1StartFrame: 0 + - _TextureLayer2Columns: 3 + - _TextureLayer2Contrast: 1 + - _TextureLayer2ContrastToggle: 0 + - _TextureLayer2EdgeClip: 0.005 + - _TextureLayer2Fade: 1 + - _TextureLayer2Rows: 3 + - _TextureLayer2ScrollToggle: 0 + - _TextureLayer2SheetToggle: 1 + - _TextureLayer2Speed: 20 + - _TextureLayer2StartFrame: 0 + - _TextureWidth: 1024 + - _TilingFix: 0 + - _TimeFPS: 5 + - _TimeFrequency: 2 + - _TimeRange: 0.5 + - _TimeSpeed: 1 + - _TimeValue: 0 + - _ToggleCustomTime: 0 + - _ToggleTimeFPS: 0 + - _ToggleTimeFrequency: 0 + - _ToggleTimeSpeed: 0 + - _ToggleUnscaledTime: 0 + - _UIVertexColorAlwaysGammaSpace: 0 + - _UVDistortFade: 1 + - _UVDistortMaskToggle: 0 + - _UVRotateSpeed: 1 + - _UnderlayDilate: 0 + - _UnderlayOffsetX: 0 + - _UnderlayOffsetY: 0 + - _UnderlaySoftness: 0 + - _UseUIAlphaClip: 0 + - _VertexOffsetX: 0 + - _VertexOffsetY: 0 + - _VertexTintFirst: 0 + - _VibrateFade: 1 + - _VibrateFrequency: 100 + - _VibrateOffset: 0.04 + - _VibrateRotation: 4 + - _WeightBold: 0.75 + - _WeightNormal: 0 + - _WiggleFade: 1 + - _WiggleFixedGroundToggle: 0 + - _WiggleFrequency: 2 + - _WiggleOffset: 0.02 + - _WiggleSpeed: 2 + - _WindFlip: 0 + - _WindHighQualityNoise: 0 + - _WindIsParallax: 0 + - _WindLocalWind: 0 + - _WindMaxIntensity: 0.4 + - _WindMaxRotation: 2 + - _WindMinIntensity: -0.4 + - _WindNoiseScale: 0.1 + - _WindNoiseSpeed: 1 + - _WindRotation: 0 + - _WindRotationWindFactor: 1 + - _WindSquishFactor: 0.3 + - _WindSquishWindFactor: 0 + - _WindXPosition: 0 + - _WorldTilingPixelsPerUnit: 100 + m_Colors: + - _AddColorColor: {r: 2.996078, g: 0, b: 0, a: 0} + - _AlphaTintColor: {r: 95.87451, g: 5.019608, b: 95.87451, a: 0} + - _BlackTintColor: {r: 0, g: 0, b: 1, a: 0} + - _BurnEdgeColor: {r: 11.98431, g: 1.129412, b: 0.1254902, a: 0} + - _BurnEdgeNoiseScale: {r: 0.3, g: 0.3, b: 0, a: 0} + - _BurnInsideColor: {r: 0.75, g: 0.5625, b: 0.525, a: 0} + - _BurnInsideNoiseColor: {r: 3084.047, g: 257.0039, b: 0, a: 0} + - _BurnInsideNoiseScale: {r: 0.5, g: 0.5, b: 0, a: 0} + - _BurnPosition: {r: 0, g: 5, b: 0, a: 0} + - _BurnSwirlNoiseScale: {r: 0.1, g: 0.1, b: 0, a: 0} + - _CamouflageBaseColor: {r: 0.7450981, g: 0.7254902, b: 0.5686274, a: 0} + - _CamouflageColorA: {r: 0.62745106, g: 0.5882353, b: 0.43137258, a: 0} + - _CamouflageColorB: {r: 0.47058815, g: 0.43137258, b: 0.31372547, a: 0} + - _CamouflageDistortionIntensity: {r: 0.1, g: 0.1, b: 0, a: 0} + - _CamouflageDistortionScale: {r: 0.5, g: 0.5, b: 0, a: 0} + - _CamouflageDistortionSpeed: {r: 0.1, g: 0.1, b: 0, a: 0} + - _CamouflageNoiseScaleA: {r: 0.25, g: 0.25, b: 0, a: 0} + - _CamouflageNoiseScaleB: {r: 0.25, g: 0.25, b: 0, a: 0} + - _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _ColorReplaceFromColor: {r: 0, g: 0, b: 0, a: 0} + - _ColorReplaceToColor: {r: 0, g: 0, b: 0.2, a: 0} + - _CustomFadeNoiseScale: {r: 1, g: 1, b: 0, a: 0} + - _DirectionalAlphaFadeNoiseScale: {r: 0.3, g: 0.3, b: 0, a: 0} + - _DirectionalDistortionDistortion: {r: 0, g: 0.1, b: 0, a: 0} + - _DirectionalDistortionDistortionScale: {r: 1, g: 1, b: 0, a: 0} + - _DirectionalDistortionNoiseScale: {r: 0.4, g: 0.4, b: 0, a: 0} + - _DirectionalGlowFadeEdgeColor: {r: 11.98431, g: 0.6901961, b: 0.6901961, a: 0} + - _DirectionalGlowFadeNoiseScale: {r: 0.4, g: 0.4, b: 0, a: 0} + - _EnchantedHighColor: {r: 0, g: 0.7098798, b: 4.237095, a: 0} + - _EnchantedLowColor: {r: 2.996078, g: 0, b: 0, a: 0} + - _EnchantedScale: {r: 0.1, g: 0.1, b: 0, a: 0} + - _EnchantedSpeed: {r: 0, g: 1, b: 0, a: 0} + - _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0} + - _FaceColor: {r: 1, g: 1, b: 1, a: 1} + - _FadingNoiseScale: {r: 0.2, g: 0.2, b: 0, a: 0} + - _FadingPosition: {r: 0, g: 0, b: 0, a: 0} + - _FlameNoiseScale: {r: 1.2, g: 0.8, b: 0, a: 0} + - _FlameSpeed: {r: 0, g: -0.5, b: 0, a: 0} + - _FrozenHighlightColor: {r: 1.797647, g: 4.604501, b: 5.992157, a: 1} + - _FrozenHighlightDistortion: {r: 0.5, g: 0.5, b: 0, a: 0} + - _FrozenHighlightDistortionScale: {r: 0.2, g: 0.2, b: 0, a: 0} + - _FrozenHighlightDistortionSpeed: {r: -0.05, g: -0.05, b: 0, a: 0} + - _FrozenHighlightScale: {r: 0.2, g: 0.2, b: 0, a: 0} + - _FrozenHighlightSpeed: {r: 0.1, g: 0.1, b: 0, a: 0} + - _FrozenSnowColor: {r: 1.123529, g: 1.373203, b: 1.498039, a: 0} + - _FrozenSnowScale: {r: 0.1, g: 0.1, b: 0, a: 0} + - _FrozenTint: {r: 1.819608, g: 4.611765, b: 5.992157, a: 0} + - _FullAlphaDissolveNoiseScale: {r: 0.1, g: 0.1, b: 0, a: 0} + - _FullDistortionDistortion: {r: 0.2, g: 0.2, b: 0, a: 0} + - _FullDistortionNoiseScale: {r: 0.5, g: 0.5, b: 0, a: 0} + - _FullGlowDissolveEdgeColor: {r: 11.98431, g: 0.627451, b: 0.627451, a: 0} + - _FullGlowDissolveNoiseScale: {r: 0.1, g: 0.1, b: 0, a: 0} + - _GlitchDistortion: {r: 0.1, g: 0, b: 0, a: 0} + - _GlitchDistortionScale: {r: 0, g: 3, b: 0, a: 0} + - _GlitchDistortionSpeed: {r: 0, g: 1, b: 0, a: 0} + - _GlitchMaskScale: {r: 0, g: 0.2, b: 0, a: 0} + - _GlitchMaskSpeed: {r: 0, g: 4, b: 0, a: 0} + - _GlitchNoiseScale: {r: 0, g: 3, b: 0, a: 0} + - _GlitchNoiseSpeed: {r: 0, g: 1, b: 0, a: 0} + - _GlowColor: {r: 0, g: 1, b: 0, a: 0.5} + - _HalftonePosition: {r: 0, g: 0, b: 0, a: 0} + - _HologramTint: {r: 0.3137255, g: 1.662745, b: 2.996078, a: 1} + - _InkSpreadColor: {r: 8.47419, g: 5.013525, b: 0.08873497, a: 0} + - _InkSpreadNoiseScale: {r: 0.4, g: 0.4, b: 0, a: 0} + - _InkSpreadPosition: {r: 0.5, g: -1, b: 0, a: 0} + - _InnerOutlineColor: {r: 11.98431, g: 1.254902, b: 1.254902, a: 1} + - _InnerOutlineDistortionIntensity: {r: 0.01, g: 0.01, b: 0, a: 0} + - _InnerOutlineNoiseScale: {r: 4, g: 4, b: 0, a: 0} + - _InnerOutlineNoiseSpeed: {r: 0, g: 0.1, b: 0, a: 0} + - _InnerOutlineTextureSpeed: {r: 0.5, g: 0, b: 0, a: 0} + - _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767} + - _MetalColor: {r: 5.992157, g: 3.639216, b: 0.3137255, a: 1} + - _MetalHighlightColor: {r: 5.992157, g: 3.796078, b: 0.6588235, a: 1} + - _MetalNoiseDistortion: {r: 0.5, g: 0.5, b: 0, a: 0} + - _MetalNoiseDistortionScale: {r: 0.2, g: 0.2, b: 0, a: 0} + - _MetalNoiseDistortionSpeed: {r: -0.05, g: -0.05, b: 0, a: 0} + - _MetalNoiseScale: {r: 0.25, g: 0.25, b: 0, a: 0} + - _MetalNoiseSpeed: {r: 0.05, g: 0.05, b: 0, a: 0} + - _OuterOutlineColor: {r: 0, g: 0, b: 0, a: 1} + - _OuterOutlineDistortionIntensity: {r: 0.01, g: 0.01, b: 0, a: 0} + - _OuterOutlineNoiseScale: {r: 4, g: 4, b: 0, a: 0} + - _OuterOutlineNoiseSpeed: {r: 0, g: 0.1, b: 0, a: 0} + - _OuterOutlineTextureSpeed: {r: 0.5, g: 0, b: 0, a: 0} + - _OutlineColor: {r: 0.95686275, g: 0.41568628, b: 0.03137257, a: 1} + - _PingPongGlowFrom: {r: 5.992157, g: 0.1882353, b: 0.1882353, a: 0} + - _PingPongGlowTo: {r: 0.1882353, g: 0.1882353, b: 5.992157, a: 0} + - _PixelOutlineColor: {r: 0, g: 0, b: 0, a: 1} + - _PixelOutlineTextureSpeed: {r: 0.5, g: 0, b: 0, a: 0} + - _PoisonColor: {r: 0.3137255, g: 2.996078, b: 0.3137255, a: 0} + - _PoisonNoiseScale: {r: 0.2, g: 0.2, b: 0, a: 0} + - _PoisonNoiseSpeed: {r: 0, g: -0.2, b: 0, a: 0} + - _RainbowCenter: {r: 0, g: 0, b: 0, a: 0} + - _RainbowNoiseScale: {r: 0.2, g: 0.2, b: 0, a: 0} + - _RecolorRGBBlueTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBGreenTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBRedTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBYCPBlueTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBYCPCyanTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBYCPGreenTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBYCPPurpleTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBYCPRedTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _RecolorRGBYCPYellowTint: {r: 1, g: 1, b: 1, a: 0.5019608} + - _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1} + - _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1} + - _ScreenTilingOffset: {r: 0, g: 0, b: 0, a: 0} + - _ScreenTilingScale: {r: 1, g: 1, b: 0, a: 0} + - _ShadowColor: {r: 0, g: 0, b: 0, a: 0} + - _ShadowOffset: {r: 0.05, g: -0.05, b: 0, a: 0} + - _ShiftingColorA: {r: 1.498039, g: 0, b: 0, a: 0} + - _ShiftingColorB: {r: 1.498039, g: 0.7490196, b: 0, a: 0} + - _ShineColor: {r: 11.98431, g: 11.98431, b: 11.98431, a: 0} + - _SineGlowColor: {r: 0, g: 2.007843, b: 2.996078, a: 0} + - _SineMoveFrequency: {r: 1, g: 1, b: 0, a: 0} + - _SineMoveOffset: {r: 0, g: 0.5, b: 0, a: 0} + - _SineRotatePivot: {r: 0.5, g: 0.5, b: 0, a: 0} + - _SineScaleFactor: {r: 0.2, g: 0.2, b: 0, a: 0} + - _SourceAlphaDissolveNoiseScale: {r: 0.3, g: 0.3, b: 0, a: 0} + - _SourceAlphaDissolvePosition: {r: 0, g: 0, b: 0, a: 0} + - _SourceGlowDissolveEdgeColor: {r: 11.98431, g: 0.627451, b: 0.627451, a: 0} + - _SourceGlowDissolveNoiseScale: {r: 0.3, g: 0.3, b: 0, a: 0} + - _SourceGlowDissolvePosition: {r: 0, g: 0, b: 0, a: 0} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _SplitToningHighlightsColor: {r: 1, g: 0.1, b: 0.1, a: 0} + - _SplitToningShadowsColor: {r: 0.1, g: 0.4000002, b: 1, a: 0} + - _SpriteSheetRect: {r: 0, g: 0, b: 1, a: 1} + - _SqueezeCenter: {r: 0.5, g: 0.5, b: 0, a: 0} + - _SqueezeScale: {r: 2, g: 0, b: 0, a: 0} + - _StrongTintTint: {r: 1, g: 1, b: 1, a: 1} + - _TextureLayer1Color: {r: 0.4494117, g: 1.298301, b: 2.996079, a: 1} + - _TextureLayer1Offset: {r: 0, g: 0, b: 0, a: 0} + - _TextureLayer1Scale: {r: 1, g: 1, b: 0, a: 0} + - _TextureLayer1ScrollSpeed: {r: 0, g: 1, b: 0, a: 0} + - _TextureLayer2Color: {r: 0.4494117, g: 1.298301, b: 2.996079, a: 1} + - _TextureLayer2Offset: {r: 0, g: 0, b: 0, a: 0} + - _TextureLayer2Scale: {r: 1, g: 1, b: 0, a: 0} + - _TextureLayer2ScrollSpeed: {r: 0, g: 1, b: 0, a: 0} + - _UVDistortFrom: {r: -0.02, g: -0.02, b: 0, a: 0} + - _UVDistortNoiseScale: {r: 0.1, g: 0.1, b: 0, a: 0} + - _UVDistortSpeed: {r: 2, g: 2, b: 0, a: 0} + - _UVDistortTo: {r: 0.02, g: 0.02, b: 0, a: 0} + - _UVRotatePivot: {r: 0.5, g: 0.5, b: 0, a: 0} + - _UVScalePivot: {r: 0.5, g: 0.5, b: 0, a: 0} + - _UVScaleScale: {r: 1, g: 1, b: 0, a: 0} + - _UVScrollSpeed: {r: 0.2, g: 0, b: 0, a: 0} + - _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5} + - _WorldTilingOffset: {r: 0, g: 0, b: 0, a: 0} + - _WorldTilingScale: {r: 1, g: 1, b: 0, a: 0} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/Assets/Fonts/Source Han Serif/Materials/Source Han Serif Heavy - Round Hint.mat.meta b/Assets/Fonts/Source Han Serif/Materials/Source Han Serif Heavy - Round Hint.mat.meta new file mode 100644 index 00000000..46b3adae --- /dev/null +++ b/Assets/Fonts/Source Han Serif/Materials/Source Han Serif Heavy - Round Hint.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fd63410a2dd495a45957bf7bed05ac10 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardDefense.asset b/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardDefense.asset index 7503c323..b13862d3 100644 --- a/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardDefense.asset +++ b/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardDefense.asset @@ -23,7 +23,7 @@ MonoBehaviour: cardSprite: {fileID: 21300000, guid: c194ccf5f79255d48847663444d7029e, type: 3} cardLayoutTags: [] functionText: Card_Basic_Defense_FunctionText - cardDescription: Card_Basic_Strike_Description + cardDescription: intentionIconKeys: - Block intentionValueNames: diff --git a/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardSlash.asset b/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardSlash.asset index 4b6fbe99..4ba4832c 100644 --- a/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardSlash.asset +++ b/Assets/Mods/Basic/Cards/Data/Enemies/Bosses/MarshalOfUnderworld/SkeletonGuard/CardData_Basic_SkeletonGuardSlash.asset @@ -24,7 +24,7 @@ MonoBehaviour: cardSprite: {fileID: 21300000, guid: 5bbd80d735672244d88b05a25da372a5, type: 3} cardLayoutTags: [] functionText: Card_Basic_Slash_FunctionText - cardDescription: Card_Basic_Strike_Description + cardDescription: intentionIconKeys: - PhysicsAttack intentionValueNames: diff --git a/Assets/Mods/Basic/Cards/Scripts/Knight/DivineSmite.cs b/Assets/Mods/Basic/Cards/Scripts/Knight/DivineSmite.cs index 959b6a97..d9db8b26 100644 --- a/Assets/Mods/Basic/Cards/Scripts/Knight/DivineSmite.cs +++ b/Assets/Mods/Basic/Cards/Scripts/Knight/DivineSmite.cs @@ -21,8 +21,8 @@ namespace Continentis.Mods.Basic.Cards { CommandGroup mainGroup = TargetListCommandGroup(targetList, new Cmd_PlayAnimation(user.characterView, "Attack"), - new Cmd_PlaySFX("SFX_Basic_GeneralMeleeImpact").SetDelay(0.2f), - new Cmd_SpawnVFX("VFX_Basic_DefaultAttack").SetDelay(0.2f), + //new Cmd_PlaySFX("SFX_Basic_GeneralMeleeImpact").SetDelay(0.2f), + //new Cmd_SpawnVFX("VFX_Basic_DefaultAttack").SetDelay(0.2f), new Cmd_ParamFunction(target => user.Attack(target, GetTargetedFinalDamage(target)))); foreach (CharacterBase protectTarget in CombatMainManager.Instance.characterController.GetAllAllies(user)) diff --git a/Assets/Mods/Basic/Characters/CombatBuffs/Mage/ConcentratedSpellcasting.cs b/Assets/Mods/Basic/Characters/CombatBuffs/Mage/ConcentratedSpellcasting.cs index e8f93681..8c1c097a 100644 --- a/Assets/Mods/Basic/Characters/CombatBuffs/Mage/ConcentratedSpellcasting.cs +++ b/Assets/Mods/Basic/Characters/CombatBuffs/Mage/ConcentratedSpellcasting.cs @@ -27,7 +27,6 @@ namespace Continentis.Mods.Basic.Buffs if (FocusingCheck(out existingBuff)) { - existingBuff.unitedStackSubmodule.PickHigherStack(this.unitedStackSubmodule); return false; } diff --git a/Assets/Mods/Basic/Characters/Data/CharacterData_Basic_MarshalOfUnderworld.asset b/Assets/Mods/Basic/Characters/Data/CharacterData_Basic_MarshalOfUnderworld.asset index 582e6902..4adc8126 100644 --- a/Assets/Mods/Basic/Characters/Data/CharacterData_Basic_MarshalOfUnderworld.asset +++ b/Assets/Mods/Basic/Characters/Data/CharacterData_Basic_MarshalOfUnderworld.asset @@ -152,7 +152,7 @@ MonoBehaviour: index: 22 isKeyDuplicated: 0 - Key: Speed - Value: 0 + Value: 10 index: 23 isKeyDuplicated: 0 - Key: LifeStealMultiplier diff --git a/Assets/Mods/Basic/Localization/Basic/Localization_Basic_GeneralCards.csv b/Assets/Mods/Basic/Localization/Basic/Localization_Basic_GeneralCards.csv index 9fe122b8..f7707d25 100644 --- a/Assets/Mods/Basic/Localization/Basic/Localization_Basic_GeneralCards.csv +++ b/Assets/Mods/Basic/Localization/Basic/Localization_Basic_GeneralCards.csv @@ -2,7 +2,7 @@ Card_Basic_Strike_DisplayName,Strike,打击,打擊,ストライク,타격,Đánh,โจมตี Card_Basic_Strike_FunctionText,"$Keyword(""Strike""), deal $Attribute(""Damage"") damage.","$Keyword(""Strike""),造成$Attribute(""Damage"")点伤害。","$Keyword(""Strike""),造成$Attribute(""Damage"")點傷害。","$Keyword(""Strike"")、$Attribute(""Damage"")点のダメージを与える。","$Keyword(""Strike""), $Attribute(""Damage"")의 피해를 줍니다.","$Keyword(""Strike""), gây $Attribute(""Damage"") sát thương.","$Keyword(""Strike""), สร้างความเสียหาย $Attribute(""Damage"") หน่วย" Card_Basic_Defense_DisplayName,Defense,防御,防禦,防御,방어,Phòng Thủ,ป้องกัน -Card_Basic_Defense_FunctionText,"$Keyword(""Fortitude""), gain $Attribute(""Block"") block to user.","$Keyword(""Fortitude""), 使用者获得 $Attribute(""Block"") 点格挡.","$Keyword(""Fortitude""), 使用者獲得 $Attribute(""Block"") 點格擋.","$Keyword(""Fortitude"")、使用者は$Attribute(""Block"")点のブロックを得る。","$Keyword(""Fortitude""), 사용자는 $Attribute(""Block"") 방어도를 얻습니다.","$Keyword(""Fortitude""), người sử dụng nhận $Attribute(""Block"") Giáp.","$Keyword(""Fortitude""), ผู้ใช้ได้รับ $Attribute(""Block"") การป้องกัน" +Card_Basic_Defense_FunctionText,"$Keyword(""Fortitude""), gain $Attribute(""Block"") block.","$Keyword(""Fortitude""), 获得 $Attribute(""Block"") 点格挡.","$Keyword(""Fortitude""), 獲得 $Attribute(""Block"") 點格擋.","$Keyword(""Fortitude"")、使用者は$Attribute(""Block"")点のブロックを得る。","$Keyword(""Fortitude""), 사용자는 $Attribute(""Block"") 방어도를 얻습니다.","$Keyword(""Fortitude""), người sử dụng nhận $Attribute(""Block"") Giáp.","$Keyword(""Fortitude""), ผู้ใช้ได้รับ $Attribute(""Block"") การป้องกัน" Card_Basic_Whimsy_DisplayName,Whimsy,奇思,,,,, Card_Basic_Whimsy_FunctionText,"$Keyword(""Exhaust""), gain 1 Mana.","$Keyword(""Exhaust""),获得1魔力。",,,,, Card_Basic_Tactic_DisplayName,Tactic,战术,,,,, @@ -11,5 +11,9 @@ Card_Basic_Rouse_DisplayName,Rouse,奋起,,,,, Card_Basic_Rouse_FunctionText,"$Keyword(""Exhaust""), gain 1 Stamina.","$Keyword(""Exhaust""),获得1体力。",,,,, Card_Basic_CommonHolyWater_DisplayName,Common holy water,普通圣水,,,,, Card_Basic_CommonHolyWater_FunctionText,"$Keyword(""Exhaust""), $Keyword(""BasicDispel"") self.","$Keyword(""Exhaust""), $Keyword(""BasicDispel"") 自身.",,,,, -Card_Basic_Guard_+E16DisplayName,Guard,守护,守護,守護,수호,Hộ Vệ,ผู้พิทักษ์ +Card_Basic_Guard_DisplayName,Guard,守护,守護,守護,수호,Hộ Vệ,ผู้พิทักษ์ Card_Basic_Guard_FunctionText,"Protect target ally for $Attribute(""BuffCount_Protecting"") rounds.","保护目标队友$Attribute(""BuffCount_Protecting"")回合。","保護目標隊友$Attribute(""BuffCount_Protecting"")回合。","対象の味方を$Attribute(""BuffCount_Protecting"")ターン守る。","대상 아군을 $Attribute(""BuffCount_Protecting"")턴 동안 보호합니다.","Bảo vệ đồng minh mục tiêu trong $Attribute(""BuffCount_Protecting"") lượt.","ปกป้องเพื่อนร่วมทีมเป้าหมายเป็นเวลา $Attribute(""BuffCount_Protecting"") เทิร์น" +Card_Basic_Slash_DisplayName,Slash,斩击,,,,, +Card_Basic_Slash_FunctionText,"$Keyword(""Slash""), deal $Attribute(""Damage"") damage.","$Keyword(""Slash""),造成$Attribute(""Damage"")点伤害。",,,,, +Card_Basic_Ignite_DisplayName,Ignite,点燃,,,,, +Card_Basic_Ignite_FunctionText,"Apply $Attribute(""BuffStack_Burn"") Burn to target.","对目标施加$Attribute(""BuffStack_Burn"")层灼烧。",,,,, diff --git a/Assets/Mods/Basic/Localization/Player/Localization_Basic_MageBuffs.csv b/Assets/Mods/Basic/Localization/Player/Localization_Basic_MageBuffs.csv index fc2b1b6e..7f2c5d06 100644 --- a/Assets/Mods/Basic/Localization/Player/Localization_Basic_MageBuffs.csv +++ b/Assets/Mods/Basic/Localization/Player/Localization_Basic_MageBuffs.csv @@ -1,3 +1,7 @@ Key,English,Simplified Chinese,Traditional Chinese,Japanese,Korean,Vietnamese,Thai -Buff_Basic_FlameInscription_DisplayName,Flame Inscription,燃烧,燃燒,燃焼,연소,Thiêu Đốt,เผาไหม้ +Buff_Basic_FlameInscription_DisplayName,Flame Inscription,烈焰刻文,烈焰刻文,炎の碑文,불꽃 비문,Chữ khắc ngọn lửa,จารึกเปลวไฟ Buff_Basic_FlameInscription_FunctionText,"Whenever you use a Spell Attack, apply $ParameterInt(""Stack"") stacks of Burn to all enemies.","每当你使用法术攻击时,给予所有敌人$ParameterInt(""Stack"")层燃烧。","每當你使用法術攻擊時,給予所有敵人$ParameterInt(""Stack"")層燃燒。","魔法攻撃を使用するたび、敵全員に$ParameterInt(""Stack"")層の燃焼を付与する。","마법 공격을 사용할 때마다, 모든 적에게 $ParameterInt(""Stack"") 층의 연소 효과를 부여합니다.","Mỗi khi bạn dùng bài tấn công phép thuật, áp dụng $ParameterInt(""Stack"") tầng Thiêu Đốt lên tất cả kẻ địch.","ทุกครั้งที่คุณใช้การโจมตีเวทมนตร์, มอบสถานะเผาไหม้ $ParameterInt(""Stack"") ชั้นให้กับศัตรูทั้งหมด." +Buff_Basic_ConcentratedSpellcasting_DisplayName,Concentrated Spellcasting,集中施法,,,,, +Buff_Basic_ConcentratedSpellcasting_FunctionText,"Concentration, gain $ParameterInt(""Stack"") extra magic damage dealt.","专注,获得$ParameterInt(""Stack"")点法术强度。",,,,, +Buff_Basic_Haste_DisplayName,Haste,加速术,,,,, +Buff_Basic_Haste_FunctionText,"Concentration, when a round ends, generate a ""Whimsy"" card to your team hand pile.",专注,回合结束时,将1张“奇思”加入团队手牌。,,,,, diff --git a/Assets/Resources/I2Languages.asset b/Assets/Resources/I2Languages.asset index ee7f0811..a2b171b7 100644 --- a/Assets/Resources/I2Languages.asset +++ b/Assets/Resources/I2Languages.asset @@ -16,7 +16,46 @@ MonoBehaviour: UserAgreesToHaveItOnTheScene: 0 UserAgreesToHaveItInsideThePluginsFolder: 0 GoogleLiveSyncIsUptoDate: 1 - mTerms: [] + mTerms: + - Term: MenuUI/Settings + TermType: 0 + Description: + Languages: + - Settings + - "\u8BBE\u7F6E" + - "\u8A2D\u5B9A" + - "\u8A2D\u5B9A" + - "\uC124\uC815" + - "C\xE0i \u0111\u1EB7t" + - "\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32" + Flags: 00000000000000 + Languages_Touch: [] + - Term: MenuUI/Back + TermType: 0 + Description: + Languages: + - Back + - "\u8FD4\u56DE" + - "\u8FD4\u56DE" + - "\u623B\u308B" + - "\uBC18\uD488" + - "Quay l\u1EA1i" + - "\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A" + Flags: 00000000000000 + Languages_Touch: [] + - Term: GameUI/Round_Hint + TermType: 0 + Description: + Languages: + - Round {[Round]} + - "\u7B2C {[Round]} \u56DE\u5408" + - + - + - + - + - + Flags: 00000000000000 + Languages_Touch: [] CaseInsensitiveTerms: 0 OnMissingTranslation: 1 mTerm_AppName: @@ -24,10 +63,10 @@ MonoBehaviour: - Name: English Code: en Flags: 0 - - Name: Chinese (PRC) + - Name: Simplified Chinese Code: zh-CN Flags: 0 - - Name: Chinese (Taiwan) + - Name: Traditional Chinese Code: zh-TW Flags: 0 - Name: Japanese @@ -44,10 +83,10 @@ MonoBehaviour: Flags: 0 IgnoreDeviceLanguage: 0 _AllowUnloadingLanguages: 0 - Google_WebServiceURL: - Google_SpreadsheetKey: - Google_SpreadsheetName: - Google_LastUpdatedVersion: + Google_WebServiceURL: https://script.google.com/macros/s/AKfycbyPUuh1rjZLbicNBkY3LFhOHSEBWGRLK13WrmmuwVbrjSobiUGlMpkUT3iMvmv0yiEe/exec + Google_SpreadsheetKey: 1Rg1puyFm2oGlN_U6EBlqv3ft70Z9LnCpJ8AvY2KR6S0 + Google_SpreadsheetName: I2Loc Continentis Localization + Google_LastUpdatedVersion: 1765515962604 Google_Password: change_this GoogleUpdateFrequency: 3 GoogleInEditorCheckFrequency: 2 diff --git a/Assets/Scenes/GameScene.unity b/Assets/Scenes/GameScene.unity index a9a5b30a..9ab3de3a 100644 --- a/Assets/Scenes/GameScene.unity +++ b/Assets/Scenes/GameScene.unity @@ -1107,6 +1107,197 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 278239719} m_CullTransparentMesh: 1 +--- !u!1 &288463698 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 288463699} + - component: {fileID: 288463701} + - component: {fileID: 288463700} + - component: {fileID: 288463703} + - component: {fileID: 288463702} + m_Layer: 5 + m_Name: RoundHint + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &288463699 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 288463698} + 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_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1122502900} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &288463700 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 288463698} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Round_Hint + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: bed6ac8052bf6ad45ab264ebde048831, type: 2} + m_sharedMaterial: {fileID: 2100000, guid: fd63410a2dd495a45957bf7bed05ac10, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 64 + m_fontSizeBase: 64 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!222 &288463701 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 288463698} + m_CullTransparentMesh: 1 +--- !u!114 &288463702 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 288463698} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c9586cfd190ca384a8dd72aa92c86152, type: 3} + m_Name: + m_EditorClassIdentifier: I2::I2.Loc.LocalizationParamsManager + _Params: [] + _IsGlobalManager: 0 +--- !u!114 &288463703 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 288463698} + m_Enabled: 0 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 344445a89b4f74a0e9a0a766903df87e, type: 3} + m_Name: + m_EditorClassIdentifier: I2::I2.Loc.Localize + mTerm: Game UI/Round_Hint + mTermSecondary: + PrimaryTermModifier: 0 + SecondaryTermModifier: 0 + TermPrefix: + TermSuffix: + LocalizeOnAwake: 1 + IgnoreRTL: 0 + MaxCharactersInRTL: 0 + IgnoreNumbersInRTL: 1 + CorrectAlignmentForRTL: 1 + AddSpacesToJoinedLanguages: 0 + AllowLocalizedParameters: 1 + AllowParameters: 1 + TranslatedObjects: [] + LocalizeEvent: + m_PersistentCalls: + m_Calls: [] + AlwaysForceLocalize: 0 + LocalizeCallBack: + Target: {fileID: 0} + MethodName: + mGUI_ShowReferences: 0 + mGUI_ShowTems: 1 + mGUI_ShowCallback: 0 + mLocalizeTarget: {fileID: 1808410751} + mLocalizeTargetName: I2.Loc.LocalizeTarget_TextMeshPro_UGUI --- !u!1 &317741247 GameObject: m_ObjectHideFlags: 0 @@ -4140,6 +4331,7 @@ RectTransform: - {fileID: 682317576} - {fileID: 530081953} - {fileID: 360006689} + - {fileID: 1122502900} m_Father: {fileID: 719066335} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} @@ -4186,6 +4378,7 @@ MonoBehaviour: customCardSelector: {fileID: 530081956} combatResourcesDisplayer: {fileID: 1951045392} actionOrderDisplayer: {fileID: 360006693} + roundHint: {fileID: 1122502901} endActionButton: {fileID: 1570153707} --- !u!1 &928534239 GameObject: @@ -4948,6 +5141,57 @@ MonoBehaviour: canvasGroup: {fileID: 1110226501} mainPointerArrow: {fileID: 0} pointerArrows: [] +--- !u!1 &1122502899 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1122502900} + - component: {fileID: 1122502901} + m_Layer: 5 + m_Name: RoundHint + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &1122502900 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1122502899} + 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_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 288463699} + m_Father: {fileID: 922348735} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1122502901 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1122502899} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 68138f41a2b8c2644ab4773a6db99b54, type: 3} + m_Name: + m_EditorClassIdentifier: GameAPI::Continentis.MainGame.UI.RoundHint + hintText: {fileID: 288463700} + locParams: {fileID: 288463702} --- !u!1 &1143715551 GameObject: m_ObjectHideFlags: 0 @@ -7970,6 +8214,23 @@ RectTransform: m_AnchoredPosition: {x: -785, y: -150} m_SizeDelta: {x: 250, y: 390} m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1808410751 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 481ab606793a67349be805c13febeba0, type: 3} + m_Name: + m_EditorClassIdentifier: I2::I2.Loc.LocalizeTarget_TextMeshPro_UGUI + mTarget: {fileID: 288463700} + mAlignment_RTL: 516 + mAlignment_LTR: 513 + mAlignmentWasRTL: 0 + mInitializeAlignment: 1 --- !u!1 &1808733956 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/MainGame/Character/CharacterBase.cs b/Assets/Scripts/MainGame/Character/CharacterBase.cs index f2d4248e..6797d61e 100644 --- a/Assets/Scripts/MainGame/Character/CharacterBase.cs +++ b/Assets/Scripts/MainGame/Character/CharacterBase.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using Continentis.MainGame.Card; using Continentis.MainGame.Combat; +using Lean.Pool; using NaughtyAttributes; using SLSFramework.UModAssistance; using UnityEngine; @@ -131,5 +132,10 @@ namespace Continentis.MainGame.Character this.characterView = characterView; return characterView; } + + public virtual void Die() + { + CombatMainManager.Instance.characterController.RemoveCharacter(this); + } } } \ No newline at end of file diff --git a/Assets/Scripts/MainGame/Character/CharacterMainFunctions.cs b/Assets/Scripts/MainGame/Character/CharacterMainFunctions.cs index 2de897b6..d067de61 100644 --- a/Assets/Scripts/MainGame/Character/CharacterMainFunctions.cs +++ b/Assets/Scripts/MainGame/Character/CharacterMainFunctions.cs @@ -226,6 +226,11 @@ namespace Continentis.MainGame.Character { ModifyAttribute("Health", -damage); MainGameManager.Instance.basePrefabs.GenerateHurtText(damage, characterView); + + if (GetAttribute("Health") <= 0) + { + Die(); + } } public void Heal(int heal) diff --git a/Assets/Scripts/MainGame/Combat/CombatCharacterController.cs b/Assets/Scripts/MainGame/Combat/CombatCharacterController.cs index ff212d43..9669d030 100644 --- a/Assets/Scripts/MainGame/Combat/CombatCharacterController.cs +++ b/Assets/Scripts/MainGame/Combat/CombatCharacterController.cs @@ -1,11 +1,15 @@ +using System; using System.Collections.Generic; using System.Linq; using Continentis.MainGame.Character; +using Lean.Pool; using SLSFramework.UModAssistance; using UnityEngine; +using Object = UnityEngine.Object; namespace Continentis.MainGame.Combat { + [Serializable] public partial class CombatCharacterController { [Header("References")] @@ -100,30 +104,42 @@ namespace Continentis.MainGame.Combat public void SetViewPositions() { - float playerSideLeftBound = -7f; - float playerSideRightBound = -1f; + float playerSideLeftBound = -7.5f; + float playerSideRightBound = -1.5f; + float playerBaseInterval = 2f; + + if (playerHeroes.Count > 4) + { + playerBaseInterval = (playerSideRightBound - playerSideLeftBound) / (playerHeroes.Count - 1); + } + playerHeroes.Sort((x, y) => x.data.combatPositionOrder.CompareTo(y.data.combatPositionOrder)); for (int index = 0; index < playerHeroes.Count; index++) { - float xPos = playerHeroes.Count > 1 - ? Mathf.Lerp(playerSideLeftBound, playerSideRightBound, (float)index / (playerHeroes.Count - 1)) - : (playerSideLeftBound + playerSideRightBound) / 2; + float xPos = playerSideLeftBound + index * playerBaseInterval; Vector3 position = new Vector3(xPos, -1, 0); playerHeroes[index].characterView.transform.position = position; } - float enemySideLeftBound = 1f; - float enemySideRightBound = 7f; + float enemySideLeftBound = 1.5f; + float enemySideRightBound = 7.5f; + float enemyBaseInterval = 2f; + + if (enemies.Count > 4) + { + enemyBaseInterval = (enemySideRightBound - enemySideLeftBound) / (enemies.Count - 1); + } + enemies.Sort((x, y) => y.data.combatPositionOrder.CompareTo(x.data.combatPositionOrder)); for (int index = 0; index < enemies.Count; index++) { - float xPos = enemies.Count > 1 - ? Mathf.Lerp(enemySideLeftBound, enemySideRightBound, (float)index / (enemies.Count - 1)) - : (enemySideLeftBound + enemySideRightBound) / 2; + float xPos = enemySideLeftBound + index * enemyBaseInterval; Vector3 position = new Vector3(xPos, -1, 0); enemies[index].characterView.transform.position = position; } + + Debug.Log($"Enemy are sorted: {string.Join(", ", enemies.Select(e => e.data.displayName))}"); } public void SetViewHUDs() @@ -170,6 +186,31 @@ namespace Continentis.MainGame.Combat } } + public partial class CombatCharacterController + { + public void RemoveCharacter(CharacterBase character) + { + characters.Remove(character); + actionOrderList.Remove(character); + combatCharacterViews.Remove(character.characterView); + + if (character is PlayerHero playerHero) + { + playerHeroes.Remove(playerHero); + } + else if (character is CombatNPC npc) + { + npcs[character.fraction].Remove(npc); + } + + Object.Destroy(character.characterView.hudContainer.gameObject); + Object.Destroy(character.characterView.gameObject); + + SetViewPositions(); + SetViewHUDs(); + } + } + public partial class CombatCharacterController { public List GetAllAllies(CharacterBase character, bool includeSelf = false) diff --git a/Assets/Scripts/MainGame/Combat/CombatMainManager.cs b/Assets/Scripts/MainGame/Combat/CombatMainManager.cs index 1a75209c..5be9b203 100644 --- a/Assets/Scripts/MainGame/Combat/CombatMainManager.cs +++ b/Assets/Scripts/MainGame/Combat/CombatMainManager.cs @@ -88,6 +88,9 @@ namespace Continentis.MainGame.Combat public void NextRound() { currentRound++; + + CombatUIManager.Instance.combatMainPage.roundHint.PlayRoundHint(currentRound); + eventCollection.onRoundStart.Invoke(); foreach (CharacterBase character in characterController.characters) { diff --git a/Assets/Scripts/MainGame/UI/CombatMainPage/CombatMainPage.cs b/Assets/Scripts/MainGame/UI/CombatMainPage/CombatMainPage.cs index b6f7d77d..252ed65b 100644 --- a/Assets/Scripts/MainGame/UI/CombatMainPage/CombatMainPage.cs +++ b/Assets/Scripts/MainGame/UI/CombatMainPage/CombatMainPage.cs @@ -19,6 +19,7 @@ namespace Continentis.MainGame.UI public CustomCardSelectionInterface customCardSelector; public CombatResourcesDisplayer combatResourcesDisplayer; public ActionOrderDisplayer actionOrderDisplayer; + public RoundHint roundHint; public Button endActionButton; protected override void Awake() diff --git a/Assets/Scripts/MainGame/UI/CombatMainPage/RoundHint.cs b/Assets/Scripts/MainGame/UI/CombatMainPage/RoundHint.cs new file mode 100644 index 00000000..aa7c7c68 --- /dev/null +++ b/Assets/Scripts/MainGame/UI/CombatMainPage/RoundHint.cs @@ -0,0 +1,38 @@ +using DG.Tweening; +using I2.Loc; +using SLSFramework.General; +using TMPro; +using UnityEngine; + +namespace Continentis.MainGame.UI +{ + public class RoundHint : MonoBehaviour + { + public TMP_Text hintText; + public LocalizationParamsManager locParams; + private Sequence textAnimationSeq; + + public void PlayRoundHint(int round) + { + gameObject.SetActive(true); + + locParams.SetParameterValue("Round", round.ToString()); + hintText.text = "GameUI/Round_Hint".Localize(hintText.gameObject); + + + Material textMat = hintText.fontMaterial; + + float fadeInDuration = 1f; + float holdDuration = 1f; + float fadeOutDuration = 0.5f; + + textAnimationSeq?.Kill(); + textAnimationSeq = DOTween.Sequence(); + textAnimationSeq.Append(textMat.DOFloat(1f, "_FullGlowDissolveFade", fadeInDuration).From(0f)); + textAnimationSeq.AppendInterval(holdDuration); + textAnimationSeq.Append(textMat.DOFloat(0f, "_FullDistortionFade", fadeOutDuration).From(1f)); + textAnimationSeq.OnComplete(() => { gameObject.SetActive(false); }); + textAnimationSeq.Play(); + } + } +} diff --git a/Assets/Scripts/MainGame/UI/CombatMainPage/RoundHint.cs.meta b/Assets/Scripts/MainGame/UI/CombatMainPage/RoundHint.cs.meta new file mode 100644 index 00000000..f0a6df6e --- /dev/null +++ b/Assets/Scripts/MainGame/UI/CombatMainPage/RoundHint.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 68138f41a2b8c2644ab4773a6db99b54 \ No newline at end of file diff --git a/Assets/Scripts/ScriptExtensions/General/StringExtension.cs b/Assets/Scripts/ScriptExtensions/General/StringExtension.cs index 583dd49d..8d3a4b26 100644 --- a/Assets/Scripts/ScriptExtensions/General/StringExtension.cs +++ b/Assets/Scripts/ScriptExtensions/General/StringExtension.cs @@ -5,6 +5,11 @@ namespace SLSFramework.General { public static class StringExtension { + /// + /// 本地化字符串,不使用参数替换 + /// + /// 原始字符串 + /// public static string Localize(this string original) { if (LocalizationManager.TryGetTranslation(original, out string translated)) @@ -14,5 +19,26 @@ namespace SLSFramework.General return original; } + + /// + /// 本地化字符串,使用指定的根GameObject进行i2Loc参数替换 + /// + /// 原始字符串 + /// 用于参数替换,含有LocalizationParamsManager的根GameObject,设为null则表明使用全局参数 + /// + public static string Localize(this string original, GameObject rootGameObject) + { + if (rootGameObject != null && rootGameObject.GetComponent() == null) + { + throw new System.ArgumentException("The provided rootGameObject does not contain a LocalizationParamsManager component."); + } + + if (LocalizationManager.TryGetTranslation(original, out string translated, true, 0, true, true, rootGameObject)) + { + return translated; + } + + return original; + } } } \ No newline at end of file