Ejemplo n.º 1
0
    /// <summary>
    /// 死亡クラス
    /// </summary>
    /// <returns></returns>
    public IEnumerator IsDead()
    {
        IsSleep = true;

        boxCol.enabled = false;
        eAnime.IsDeadAnim();
        this.transform.tag = "Untagged";
        yield return(new WaitForSeconds(3));

        Destroy(gameObject);
    }