예제 #1
0
    // 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;
        }
    }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        string ss = ReadText.readTextFile(sText);

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

        AlSoundController.Instance.PlayBatDau();
        btnPower.OnClick += btnPower_OnClick;
    }
예제 #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();
    }
예제 #4
0
    // Use this for initialization
    void Start()
    {
        string ss = ReadText.readTextFile(sText);

        GetDaTa(ss);

        maxlevel = DataController.GetHightScore();

        SoundController.Instance.PlayBatDau();



        //suget();
        StartCoroutine(WaitTimeLoadData(5f));
    }
예제 #5
0
    // 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();
    }
예제 #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;
        }
    }
예제 #7
0
    // 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;
        }
    }