Exemplo n.º 1
0
    protected override void OnStateChangeToClosing()
    {
        base.OnStateChangeToClosing();

        mBattleUIModule.ShowTimer(false);

        mBoss.Die(new AttackerAttr(mBoss));

        Finish();
    }
Exemplo n.º 2
0
 void Die()
 {
     m_Ac.PlayDieAnimation();
     Instantiate(Partical).transform.position = gameObject.transform.position;
     Parent.Die(transform);
 }