public override void Death() { base.Death(); //自身のオブジェクトを消す //Destroy(gameObject); gameObject.layer = Layers.Death; anim.Play("Dead"); GotoResult.GameOver(); }
public void Death() { GotoResult.GameOver(); }