From cec8b67d82c2c2c1662d55c818c4a46bcc0487db Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期一, 25 八月 2025 17:36:02 +0800 Subject: [PATCH] 125 【战斗】战斗系统 战斗技能 --- Main/System/Battle/BattleObject/BattleObject.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Main/System/Battle/BattleObject/BattleObject.cs b/Main/System/Battle/BattleObject/BattleObject.cs index 5fd4dee..e094fb1 100644 --- a/Main/System/Battle/BattleObject/BattleObject.cs +++ b/Main/System/Battle/BattleObject/BattleObject.cs @@ -110,7 +110,6 @@ public virtual void Destroy() { - motionBase.onAnimationComplete -= OnAnimationComplete; motionBase.Release(); @@ -139,7 +138,7 @@ teamHero.rage = (int)GeneralDefine.GetFactValue(_refreshInfo.Value, _refreshInfo.ValueEx); break; default: - Debug.LogError("BattleObject.ObjInfoRefresh 鍑虹幇鎰忓绫诲瀷 " + _refreshInfo.RefreshType.ToString()); + BattleDebug.LogError("BattleObject.ObjInfoRefresh 鍑虹幇鎰忓绫诲瀷 " + _refreshInfo.RefreshType.ToString()); break; } } @@ -262,6 +261,7 @@ public virtual void OnDeath(Action _onDeathAnimationComplete) { + BattleDebug.LogError(ObjID + " OnDeath called"); onDeathAnimationComplete = _onDeathAnimationComplete; motionBase.PlayAnimation(MotionName.dead, false); } @@ -326,7 +326,7 @@ // YYL TODO // 浼戞伅鐘舵�� // 澶氫竴涓獄zz鐨勪竴涓壒鏁� - + heroGo.SetActive(true); motionBase.PlayAnimation(MotionName.idle, true); heroRectTrans.anchoredPosition = Vector2.zero; } -- Gitblit v1.8.0