Example #1
0
    protected override void OnInitDone()
    {
        base.OnInitDone();

        mItem = SkinTransform.Find("PanelMove/Items/Item").gameObject;
        ShowItems();
    }
Example #2
0
 void init()
 {
     mName = SkinTransform.Find("Name").GetComponent <UILabel>();
     // mInputNum = SkinTransform.Find("InputNum/Label").GetComponent<UILabel>();
     mInput       = SkinTransform.Find("InputNum").GetComponent <UIInput>();
     mInput.value = mNowSeleNums.ToString();
     mInput.onChange.Add(new EventDelegate(ChangeInput));
 }
Example #3
0
    private void Init()
    {
        mItem = SkinTransform.Find("PanelMove/Items/Item").gameObject;

        Transform menuTran = SkinTransform.Find("Conten/Menu");

        BoxCollider[] buttonArr = menuTran.GetComponentsInChildren <BoxCollider>(true);
        foreach (var box in buttonArr)
        {
            menuButtons.Add(box.gameObject);
        }
        mData = MoNiData(Random.Range(10, 30));
        ShowItems();
    }
Example #4
0
    protected override void OnInitDone()
    {
        base.OnInitDone();

        mInputAcc  = SkinTransform.Find("InputAce").GetComponent <UIInput>();
        mInputPass = SkinTransform.Find("InputPass").GetComponent <UIInput>();

        string str = (string)_sceneArgs[0];

        Debug.Log(str + "sdfs afdsafsdafafdsaf");
        int  i  = (int)_sceneArgs[1];
        bool bo = (bool)_sceneArgs[2];

        Debug.Log(str + "----" + i + " ----" + bo);
    }
Example #5
0
    protected override void OnInitDone()
    {
        base.OnInitDone();


        string str = (string)_sceneArgs[0];

        Debug.Log(str + "----");


        mSlider = SkinTransform.Find("Slider").GetComponent <UISlider>();
        mLabel  = SkinTransform.Find("ProLabel").GetComponent <UILabel>();

        mSlider.value = 0;

        SetLabelInfo(mSlider.value);

        StartCoroutine(Test());
    }