21 lines
430 B
C#
21 lines
430 B
C#
|
|
using System;
|
||
|
|
using Cysharp.Threading.Tasks;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace CharacterPreview
|
||
|
|
{
|
||
|
|
public class ShowListen:MonoBehaviour
|
||
|
|
{
|
||
|
|
private void OnEnable()
|
||
|
|
{
|
||
|
|
try
|
||
|
|
{
|
||
|
|
_ = ModBehaviour.CreateCharacterModel();
|
||
|
|
}
|
||
|
|
catch (Exception ex)
|
||
|
|
{
|
||
|
|
Debug.LogError($"创建角色模型失败: {ex}");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|