MoTaForPSVita/Assets/Scripts/Event/Level/EventLevel4Actor1.cs

23 lines
526 B
C#

public enum ERandomShopType
{
Health,
Attack,
Defence,
Gold,
}
public class EventLevel4Actor1 : ActorController
{
ShopComm.E_ShopFloor floor = ShopComm.E_ShopFloor.F4;
public override bool Interaction()
{
// 打开商店界面
GameManager.Instance.EventManager.OnShopShow?.Invoke(GetComponent<ActorController>().Name, floor,
this,
() => ShopComm.BuyHP(floor),
() => ShopComm.BuyAtk(floor),
() => ShopComm.BuyDef(floor));
return false;
}
}