From 65e0353f105cca352bd2f3e49921f9bdde2ea302 Mon Sep 17 00:00:00 2001 From: kimura Date: Tue, 16 Aug 2022 09:31:30 +0900 Subject: [PATCH] =?UTF-8?q?=E5=A0=B1=E9=85=AC=E3=81=AE=E3=82=B7=E3=83=AB?= =?UTF-8?q?=E3=82=A8=E3=83=83=E3=83=88=E7=94=BB=E5=83=8F=E3=82=92=E7=BF=BB?= =?UTF-8?q?=E8=A8=B3=E3=81=AB=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/MyGame/Scenes/MiniGame/Scripts/ResultManager.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/popcorn/Assets/MyGame/Scenes/MiniGame/Scripts/ResultManager.cs b/popcorn/Assets/MyGame/Scenes/MiniGame/Scripts/ResultManager.cs index de208bd5..58a07b16 100644 --- a/popcorn/Assets/MyGame/Scenes/MiniGame/Scripts/ResultManager.cs +++ b/popcorn/Assets/MyGame/Scenes/MiniGame/Scripts/ResultManager.cs @@ -2,6 +2,7 @@ using System; using System.Collections; using System.Collections.Generic; using System.Linq; +using I2.Loc; using MyGame.Scenes.marketing.Scripts; using TMPro; using UniRx; @@ -221,6 +222,10 @@ namespace MyGame.Scenes.MiniGame.Scripts private void SetSilhouette(Transform prefab, bool isRecipe) { + if (prefab.GetComponent() is { enabled: true } localize) + { + localize.OnLocalize(true); + } maskImage.transform.parent.SetLocalScale(isRecipe ? 1f : 2f); maskImage.sprite = prefab.GetComponent().sprite; meterProgressImage.sprite = maskImage.sprite;