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

15 lines
400 B
C#

public class EventLevel12Actor3 : ActorController
{
ShopComm.E_ShopFloor floor = ShopComm.E_ShopFloor.F12;
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;
}
}