1234567891011121314151617181920 |
- using XGame.Framework.Map;
- using XGame.Framework.ObjectCollection;
- namespace FL.Map.UI
- {
- public class MonsterBattleInfoVM : EntityViewModel, IEntityBattleInfoVM
- {
- public UnityEngine.UI.Image HpImg { get; private set; }
- public FL.Map.UI.BattleInfoBuffList BuffList { get; private set; }
- public UnityEngine.UI.Image ShieldImg { get; private set; }
- protected override void OnInit(IObjectCollector collector)
- {
- HpImg = collector.GetComponent<UnityEngine.UI.Image>("HpImg");
- BuffList = collector.GetComponent<FL.Map.UI.BattleInfoBuffList>("BuffList");
- ShieldImg = collector.GetComponent<UnityEngine.UI.Image>("ShieldImg");
- }
- }
- }
|