コード例 #1
0
    public void Die()
    {
        this.gameObject.GetComponent <BallMovement>().enabled = false;
        this.gameObject.GetComponent <MeshRenderer>().enabled = false;

        fire.gameObject.SetActive(false);

        beam.gameObject.SetActive(true);
        m_GameMenu.Defeat();
    }