void Start() { theEquipButtonStatic = theEquipButton; theEquipButtonText = theEquipButton.GetComponentInChildren <Text> (); theSoundController = this.GetComponentInChildren <panelSoundController> (); equipSkillAddInformationStatic = equipSkillAddInformation; equipSkillAdderViewFatherStatic = theViewFather; theShowingButtonProfabStatic = theShowingButtonProfab; isStarted = true; flashThePanel(); }
private int countPerPage = 15; //每一页显示的装备数量 void Start() { thePackage = this.GetComponent <equipPackage> (); theSoundController = this.GetComponent <panelSoundController> (); }