// Use this for initialization
    void Start()
    {
        try
        {
            string ss = ReadText.readTextFile(sText);
            GetDaTa(ss);

            string stVuotQua = DataManager.GetVuotQua();
            if (stVuotQua.Equals(""))
            {
            }
            else
            {
                if (stVuotQua.Contains("+"))
                {
                    string[] mang = stVuotQua.Split('+');
                    for (int i = 0; i < mang.Length; i++)
                    {
                        lstVuotQua.Add(mang [i]);
                    }
                }
                else
                {
                    lstVuotQua.Add(stVuotQua);
                }
            }
        }
        catch (System.Exception)
        {
            throw;
        }
    }
    // Use this for initialization
    void Start()
    {
        string ss = ReadText.readTextFile(sText);

        GetDaTa(ss);
        maxlevel = DataManager.GetHightScoreALTP();

        AlSoundController.Instance.PlayBatDau();
        btnPower.OnClick += btnPower_OnClick;
    }
Example #3
0
    // Use this for initialization
    void Start()
    {
        string ss = ReadText.readTextFile(sText);

        GetDaTa(ss);
        btnPower.OnClick += btnPower_OnClick;

        maxlevel = DataController.GetHightScore();

        SoundController.Instance.PlayBatDau();



        //suget();
    }
    // Use this for initialization
    void Start()
    {
        string ss = ReadText.readTextFile(sText);

        GetDaTa(ss);

        maxlevel = DataController.GetHightScore();

        SoundController.Instance.PlayBatDau();



        //suget();
        StartCoroutine(WaitTimeLoadData(5f));
    }
    // Use this for initialization
    void Start()
    {
        string ss = ReadText.readTextFile(sText);

        GetDaTa(ss);
        btnPower.OnClick += btnPower_OnClick;

        maxlevel             = DataController.GetHightScore();
        checkRedQuestionOpen = DataController.GetRedQuestion();

        SoundController.Instance.PlayBatDau();


        mInApp = DataController.GetInApp();
        mInApp++;
        DataController.SaveInApp(mInApp);

        //suget();
    }
Example #6
0
    // Use this for initialization
    void Start()
    {
        try
        {
            string ss = ReadText.readTextFile(sText);
            GetDaTa(ss);

            maxlevel = DataController.GetHightScore();

            SoundController.Instance.PlayBatDau();

            AdController.instance.LoadAdsBanner();

            //suget();
            StartCoroutine(WaitTimeLoadData(5f));
        }
        catch (System.Exception)
        {
            throw;
        }
    }
    // Use this for initialization
    void Start()
    {
        try
        {
            string ss = ReadText.readTextFile(sText);
            GetDaTa(ss);
            oHomQua  = this.transform.GetChild(0);
            oHomNay  = this.transform.GetChild(1);
            oNgayMai = this.transform.GetChild(2);
            oHomNay.GetChild(4).GetChild(0).GetComponent <tk2dUIItem> ().OnClick += onClick_ToDay;

            startPosition = this.transform.position;


            Today();
        }
        catch (System.Exception)
        {
            throw;
        }
    }