From 622fe5330d27c4e59fb924bfca8d41b7529b09b2 Mon Sep 17 00:00:00 2001 From: Lenheart <947330670@qq.com> Date: Sun, 15 Dec 2024 20:22:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E5=8A=A8=E7=94=BB=E7=B1=BB?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sqr/User/Asset/Character/Animation.nut | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sqr/User/Asset/Character/Animation.nut b/sqr/User/Asset/Character/Animation.nut index a857a0a..cbc46d8 100644 --- a/sqr/User/Asset/Character/Animation.nut +++ b/sqr/User/Asset/Character/Animation.nut @@ -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