示例#1
0
    public void StartGame()
    {
        if (bossBehaviour == null)
        {
            bossBehaviour = FindObjectOfType <BossBehaviour>();
        }
        RuntimeTimer = Timer;
        bossBehaviour.Revieve();
        bTimerActive = true;

        PlayerShootProjectile player = FindObjectOfType <PlayerShootProjectile>();

        player.Reset();
        cameraBehaviour.ResetCamera();
        if (princeGO)
        {
            Destroy(princeGO);
        }

        foreach (StatueBehaviour statue in AllStatues)
        {
            Destroy(statue.gameObject);
        }
        AllStatues.Clear();
    }