예제 #1
0
    public void Cutscene()
    {
        Player_Mouvement player = Player.GetComponent <Player_Mouvement>();

        if (player)
        {
            player.Go_again();
        }

        Shoot gun = Gun.GetComponent <Shoot>();

        if (gun)
        {
            gun.enabled = true;
        }

        Boss_Alpha boss = Boss.GetComponent <Boss_Alpha>();

        if (boss)
        {
            boss.enabled = true;
        }
    }
예제 #2
0
    private void OnTriggerEnter2D()
    {
        Player_Mouvement player = Player.GetComponent <Player_Mouvement>();

        if (player)
        {
            player.Go_again();
        }

        Shoot gun = Gun.GetComponent <Shoot>();

        if (gun)
        {
            gun.enabled = true;
        }

        Boss_Omega boss = Boss.GetComponent <Boss_Omega>();

        if (boss)
        {
            boss.enabled = true;
        }
    }