23 lines
709 B
C#
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();
|
|
}
|
|
}
|
|
} |