hch
8 天以前 af6e207c6d185ed66125e85e18c02c63bea597f9
Main/System/Battle/TestMoveToTarget.cs
@@ -13,11 +13,11 @@
    {
        if (sourceRect == null || targetRect == null)
        {
            BattleDebug.LogError("请在Inspector中指定sourceRect和targetRect!");
            Debug.LogError("请在Inspector中指定sourceRect和targetRect!");
            return;
        }
        BattleUtility.MoveToTarget(sourceRect, targetRect, offset, duration, () =>
        BattleUtility.MoveToTarget(sourceRect, targetRect, offset, () =>
        {
            Debug.Log("移动完成!");
        });