父类的升级逻辑,空的,请在子类重写

This commit is contained in:
wulongxiao 2024-12-23 09:44:19 +08:00
parent 8fec6273a4
commit 838821f0a9

View File

@ -13,6 +13,7 @@ using UnityEngine.UIElements;
using Debug = UnityEngine.Debug;
using Image = UnityEngine.UI.Image;
using DG.Tweening;
using UnityEngine.SocialPlatforms;
public enum Camp
{/// <summary>
/// Íæ¼Ò
@ -371,4 +372,10 @@ public class Role : Fun
transform.DOPlay();
});
}
// 升级逻辑
public virtual void Upgrade()
{
Debug.Log("父类的升级逻辑,空的,请在子类重写");
}
}