Example #1
0
    protected override void OnStateChangeToClosing()
    {
        base.OnStateChangeToClosing();

        mBattleUIModule.ShowTimer(false);

        mBoss.Die(new AttackerAttr(mBoss));

        Finish();
    }
 void Die()
 {
     m_Ac.PlayDieAnimation();
     Instantiate(Partical).transform.position = gameObject.transform.position;
     Parent.Die(transform);
 }