예제 #1
0
    void ApplyPowerUp()
    {
        ProjectileLauncher projLauncher = player.transform.GetChild(0).GetComponent <ProjectileLauncher>();

        projLauncher.UpdatePierce(increaseAmount);
        Destroy(gameObject);
    }