From 5a4e34c8a85737c0fa5b5775122da31155cbaef3 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 09 二月 2026 14:46:01 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/HeroUI/HeroSkinModel.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/Main/System/HeroUI/HeroSkinModel.cs b/Main/System/HeroUI/HeroSkinModel.cs
index dddc065..9d24b54 100644
--- a/Main/System/HeroUI/HeroSkinModel.cs
+++ b/Main/System/HeroUI/HeroSkinModel.cs
@@ -2,7 +2,7 @@
//姝﹀皢澶栬閰嶇疆
-public class HeroModel : MonoBehaviour
+public class HeroSkinModel : MonoBehaviour
{
[SerializeField] UIHeroController heroModel;
public int heroSkinID = 0;
@@ -18,5 +18,10 @@
heroModel.PlayAnimation(actionName, true);
heroModel.SetEnabled(enable);
}
+
+ public UIHeroController GetModel()
+ {
+ return heroModel;
+ }
}
--
Gitblit v1.8.0