Exemple #1
0
    // Start is called before the first frame update
    void Start()
    {
        var settings = GameplaySettings.Settings;
        var mainGame = GameObject.Find("MainGame");

        GameplaySettings.MainCamera = GameObject.Find("MainCamera");
        GameplaySettings.PointsText = GameObject.Find("PointsText");
        GameplaySettings.StarsText  = GameObject.Find("StarsText");
        Globals.GenerateLevel(mainGame.transform, GameplaySettings.MainCamera);

        ProgressController.PaintHUD();
    }