예제 #1
0
    private void Awake()
    {
        _instance = this;
        shopDrug  = GetComponent <UIPositionMove>();

        NumberDialog = transform.Find("NumberDialog").gameObject;
        NumberInput  = NumberDialog.transform.Find("NumberInput").GetComponent <UIInput>();
        NumberDialog.SetActive(false);
    }
예제 #2
0
    private void Awake()
    {
        _instance   = this;
        equipmentUI = GetComponent <UIPositionMove>();

        //获取装备格子
        headgear  = transform.Find("Headgear").gameObject;
        armor     = transform.Find("Armor").gameObject;
        leftHand  = transform.Find("LeftHand").gameObject;
        rightHand = transform.Find("RightHand").gameObject;
        shoe      = transform.Find("Shoe").gameObject;
        accessory = transform.Find("Accessory").gameObject;
    }
예제 #3
0
    private void Awake()
    {
        _instance = this;
        status    = GetComponent <UIPositionMove>();

        attackLable      = transform.Find("Attack").GetComponent <UILabel>();
        defenseLable     = transform.Find("Defense").GetComponent <UILabel>();
        speedLable       = transform.Find("Speed").GetComponent <UILabel>();
        pointRemainLable = transform.Find("Point_Remain").GetComponent <UILabel>();
        summaryLable     = transform.Find("Summary").GetComponent <UILabel>();

        attackButtonGo  = transform.Find("Attack_Plus").gameObject;
        defenseButtonGo = transform.Find("Defense_Plus").gameObject;
        speedButtonGo   = transform.Find("Speed_Plus").gameObject;
    }
예제 #4
0
 private void Awake()
 {
     _instance  = this;
     shopWeapon = GetComponent <UIPositionMove>();
 }
예제 #5
0
파일: SkillUI.cs 프로젝트: Aagxe/RPGproject
 private void Awake()
 {
     _instance = this;
     skillUI   = GetComponent <UIPositionMove>();
 }