Exemplo n.º 1
0
    void Start()
    {
        //gameData = mainController.GetGameData();
        dataController = FindObjectOfType <DataController>();
        gameData       = dataController.GetGameData();
        winSceneData   = gameData.winSceneData;

        buttonTextString      = winSceneData.buttonText;
        winSceneHeadingString = winSceneData.winSceneHeading;
        FillTexts();
    }
Exemplo n.º 2
0
 void Start()
 {
     dataController = FindObjectOfType <DataController>();
     gameData       = dataController.GetGameData();
     winSceneData   = gameData.winSceneData;
 }