From 84fba9533cc9a0f1a3400bbc3f9a36cca94a1fbc Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 26 十二月 2025 18:30:16 +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