private void Awake() { _instance = this; shopDrug = GetComponent <UIPositionMove>(); NumberDialog = transform.Find("NumberDialog").gameObject; NumberInput = NumberDialog.transform.Find("NumberInput").GetComponent <UIInput>(); NumberDialog.SetActive(false); }
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; }
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; }
private void Awake() { _instance = this; shopWeapon = GetComponent <UIPositionMove>(); }
private void Awake() { _instance = this; skillUI = GetComponent <UIPositionMove>(); }