예제 #1
0
 void DeathMyself()
 {
     //爆発エフェクト
     Instantiate(deathEffect, transform.position, Quaternion.identity);
     //リストから除く
     //WaitTimeManager.Instance.DestroyWaitTime(this.activeTime);
     RemoveActiveTimeEventHandler();
     activeTime.DeathCharacter();
     CharacterManager.Instance.DestroyCharacter(this);
     Destroy(gameObject);
 }