| | |
| | | this.attGridContainer = this.transform.Find("Container_AttrGrid"); |
| | | this.prefabs = this.transform.Find("Prefabs"); |
| | | this.equShow = this.transform.FindComponentEx<RawImage>("Cotainer_Bg/EquShow"); |
| | | this.bgBtn = this.transform.FindComponentEx<Button>("Cotainer_Bg/Img_BG"); |
| | | this.bgBtn = this.transform.FindComponentEx<Button>("Img_BG"); |
| | | this.powerText = this.transform.FindComponentEx<Text>("Conatainer_Power/Text_Power"); |
| | | this.uiEffect = this.transform.FindComponentEx<UIEffect>("UIEffect"); |
| | | } |
| | |
| | | } |
| | | |
| | | protected override void OnPreOpen() |
| | | { |
| | | {
|
| | | base.OnPreOpen(); |
| | | this.uiEffect.Play(); |
| | | this.RefreshUI(); |
| | |
| | | if (SpiritEquipModel.Instance.curEquType == RoleEquipType.Wing) |
| | | UI3DModelExhibition.Instance.ShowWing(afterConfig.NPCID, this.equShow); |
| | | else if (SpiritEquipModel.Instance.curEquType == RoleEquipType.Guard) |
| | | UI3DModelExhibition.Instance.ShowNPC(afterConfig.NPCID, Vector3.zero, this.equShow, false, false); |
| | | UI3DModelExhibition.Instance.ShowNPC(afterConfig.NPCID, new Vector3(0, -45, 0), this.equShow, false, false); |
| | | else |
| | | UI3DModelExhibition.Instance.ShowEquipment(ItemConfig.Get(afterItemID).ChangeOrd, afterConfig.Rotation, afterConfig.scale, this.equShow); |
| | | //展示战力 |