From bae41593e19d32046f77ed1f036089e015380b99 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 30 七月 2025 22:25:18 +0800 Subject: [PATCH] 117 【武将】武将系统 - 布阵临时版 --- Main/System/Hero/UIHeroController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Main/System/Hero/UIHeroController.cs b/Main/System/Hero/UIHeroController.cs index 0ed25fe..c2291e3 100644 --- a/Main/System/Hero/UIHeroController.cs +++ b/Main/System/Hero/UIHeroController.cs @@ -35,7 +35,7 @@ instanceGO = pool.Request(); instanceGO.transform.SetParent(transform); //transform 鐨凱ivot Y鏄�0锛岃instanceGO 灞呬腑 - instanceGO.transform.localPosition = new Vector3(0, transform.GetComponent<RectTransform>().sizeDelta.y * 0.5f); + instanceGO.transform.localPosition = new Vector3(0, instanceGO.GetComponent<RectTransform>().sizeDelta.y * 0.5f); //instanceGO.transform.localPosition = Vector3.zero; instanceGO.transform.localScale = Vector3.one; -- Gitblit v1.8.0