Example #1
0
    //--------------------
    // Deathした時の処理
    //--------------------
    protected override void Death()
    {
        // パーツをドロップ
        drop_parts.Drop();

        // Kill数を加算
        GameObject.Find("Kill_Count").GetComponent <Kill_Count>().Kill_Counter();

        // 消滅
        Destroy(gameObject);
    }