角色动画类更新

This commit is contained in:
Lenheart 2024-12-15 20:22:46 +08:00
parent a397f5198b
commit 622fe5330d
1 changed files with 1 additions and 3 deletions

View File

@ -232,9 +232,7 @@ class Character_Animation extends Actor {
}
//初始化
function Init(...) {
local SlotType = false;
if (vargv.len() > 0) SlotType = vargv[0];
function Init(SlotType = false) {
//读取并设置 等待Ani
ReadAndSetAni("WaitingAni", "waiting motion", SlotType);
//读取并设置 移动Ani