feat: 角色展示v1.2
This commit is contained in:
21
CharacterPreview/ShowListen.cs
Normal file
21
CharacterPreview/ShowListen.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user