Files
ft/Client/Assets/Scripts/EventBossFight/Panel/EventBossFightInfoPanel.cs
2026-06-29 21:18:33 +08:00

23 lines
709 B
C#

using asap.core;
namespace EventBossFight
{
public class EventBossFightInfoPanel : BasePanel
{
private EventBossFightWheelRewardComponent _wheelRewardComponent;
private EventBossFightManager _manager;
private EventBossFightManager Manager => _manager ??= GContext.container.Resolve<EventBossFightManager>();
private void Awake()
{
_wheelRewardComponent=gameObject.GetComponentInChildren<EventBossFightWheelRewardComponent>();
}
protected override void Start()
{
_wheelRewardComponent.SetData(Manager.GetWheelRewards());
_wheelRewardComponent.ShowUI();
base.Start();
}
}
}