Exemple #1
0
    //Use this for initialization
    public void Start()
    {
        //Gets a the cms ref
        cms = this.GetComponent <CMS>();

        //Gets all question records
        cms.OpenConnection();

        MainController.Instance.Loader.text = "OPEN DB CONNECTION";

        cms.GetAllPollRecords();

        MainController.Instance.Loader.text = "GATHER POLL RECORDS";

        cms.GetAllTwitterRecords();

        MainController.Instance.Loader.text = "GATHER TWITTER RECORDS";

        cms.GetBackground();

        cms.CloseConnection();

        MainController.Instance.Loader.text = "CLOSE CONNECTION";

        SetupTwitterCubes();
    }