Beispiel #1
0
 private void AddBillBoard()
 {
     if (m_monsterData != null && m_monsterData.hpShow != null && m_monsterData.hpShow.Count >= 3)
     {
         MainUILogicManager.Instance.SetBossMessageInit(this, m_monsterData.hpShow[2]);
     }
     BillboardLogicManager.Instance.AddInfoBillboard(ID, Transform, this, MonsterData.IsHpShow((int)m_monsterData.id));
     //EventDispatcher.TriggerEvent<float, uint>(BillboardLogicManager.BillboardLogicEvent.SETBILLBOARDBLOOD, base.PercentageHp, ID);
     BillboardViewManager.Instance.SetBillboardBlood(base.PercentageHp, ID);
 }
Beispiel #2
0
 private void BornedHandler()
 {
     AddShadow();
     BillboardLogicManager.Instance.AddInfoBillboard(ID, Transform, this, MonsterData.IsHpShow((int)m_monsterData.id));
     //EventDispatcher.TriggerEvent<float, uint>(BillboardLogicManager.BillboardLogicEvent.SETBILLBOARDBLOOD, base.PercentageHp, ID);
     BillboardViewManager.Instance.SetBillboardBlood(base.PercentageHp, ID);
     if (isLittleGuy)
     {
         MainUILogicManager.Instance.SetMercenaryMessageInit(this);
     }
     else
     {
         hp = (uint)m_monsterData.hpBase;
         //curHp = (uint)m_monsterData.hpBase;
         if (m_monsterData != null && m_monsterData.hpShow != null && m_monsterData.hpShow.Count >= 3)
         {
             MainUILogicManager.Instance.SetBossMessageInit(this, m_monsterData.hpShow[2]);
         }
     }
 }
Beispiel #3
0
        private void BornedHandler()
        {
            AddShadow();


            hp = (uint)m_monsterData.hpBase;


            if (BillBoard)
            {
                BillboardLogicManager.Instance.AddInfoBillboard(ID, Transform, this, MonsterData.IsHpShow((int)m_monsterData.id));
            }
            if (m_monsterData != null && m_monsterData.hpShow != null && m_monsterData.hpShow.Count >= 3)
            {
                MainUILogicManager.Instance.SetBossMessageInit(this, m_monsterData.hpShow[2]);
            }

            if (m_monsterId == Goddess)
            {
                MainUILogicManager.Instance.InitTDBlood(this);
            }
        }