From 1ab047b5fdd933c38ba0519ec2e83a44512ea8d7 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 26 三月 2026 17:46:11 +0800
Subject: [PATCH] webgl代码合并 1
---
Main/System/HeroUI/HeroSkinModel.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Main/System/HeroUI/HeroSkinModel.cs b/Main/System/HeroUI/HeroSkinModel.cs
index 9d24b54..2a72b4a 100644
--- a/Main/System/HeroUI/HeroSkinModel.cs
+++ b/Main/System/HeroUI/HeroSkinModel.cs
@@ -12,9 +12,9 @@
public bool enable = true;
- public void Start()
+ public async void Start()
{
- heroModel.Create(heroSkinID, scale);
+ await heroModel.Create(heroSkinID, scale);
heroModel.PlayAnimation(actionName, true);
heroModel.SetEnabled(enable);
}
--
Gitblit v1.8.0