protected override void OnDestroy() { base.OnDestroy(); if (GUISelectPanelMonsterIcon.instance == this) { GUISelectPanelMonsterIcon.instance = null; } }
private void SetCommonUI() { this.baseTitleName.text = StringMaster.GetString("Succession-01"); this.partnerTitleName.text = StringMaster.GetString("ArousalPartner"); this.goSelectPanelMonsterIcon = GUIManager.LoadCommonGUI("SelectListPanel/SelectListPanelMonsterIcon", base.gameObject); this.csSelectPanelMonsterIcon = this.goSelectPanelMonsterIcon.GetComponent <GUISelectPanelMonsterIcon>(); Vector3 localPosition = this.goSelectPanelMonsterIcon.transform.localPosition; localPosition.x = 208f; GUICollider component = this.goSelectPanelMonsterIcon.GetComponent <GUICollider>(); component.SetOriginalPos(localPosition); if (null != this.goEFC_RIGHT) { this.goSelectPanelMonsterIcon.transform.parent = this.goEFC_RIGHT.transform; } this.csSelectPanelMonsterIcon.ListWindowViewRect = ConstValue.GetRectWindow2(); }
private void SetCommonUI() { this.goSelectPanelMonsterIcon = GUIManager.LoadCommonGUI("SelectListPanel/SelectListPanelMonsterIcon", base.gameObject); this.csSelectPanelMonsterIcon = this.goSelectPanelMonsterIcon.GetComponent <GUISelectPanelMonsterIcon>(); if (null != this.goEFC_RIGHT) { this.goSelectPanelMonsterIcon.transform.parent = this.goEFC_RIGHT.transform; } Vector3 localPosition = this.goSelectPanelMonsterIcon.transform.localPosition; localPosition.x = 208f; GUICollider component = this.goSelectPanelMonsterIcon.GetComponent <GUICollider>(); component.SetOriginalPos(localPosition); Rect listWindowViewRect = default(Rect); listWindowViewRect.xMin = -240f; listWindowViewRect.xMax = 240f; listWindowViewRect.yMin = -297f - GUIMain.VerticalSpaceSize; listWindowViewRect.yMax = 158f + GUIMain.VerticalSpaceSize; this.csSelectPanelMonsterIcon.ListWindowViewRect = listWindowViewRect; }
private void SetCommonUI() { this.UpdateDigicoin(); this.goSelectPanelMonsterIcon = GUIManager.LoadCommonGUI("SelectListPanel/SelectListPanelMonsterIconL", base.gameObject); this.csSelectPanelMonsterIcon = this.goSelectPanelMonsterIcon.GetComponent <GUISelectPanelMonsterIcon>(); if (null != this.goEFC_FOOTER) { this.goSelectPanelMonsterIcon.transform.parent = this.goEFC_FOOTER.transform; } Vector3 localPosition = this.goSelectPanelMonsterIcon.transform.localPosition; localPosition.x = -108.5f; GUICollider component = this.goSelectPanelMonsterIcon.GetComponent <GUICollider>(); component.SetOriginalPos(localPosition); Rect listWindowViewRect = default(Rect); listWindowViewRect.xMin = -480f; listWindowViewRect.xMax = 480f; listWindowViewRect.yMin = -297f - GUIMain.VerticalSpaceSize; listWindowViewRect.yMax = 158f + GUIMain.VerticalSpaceSize; this.csSelectPanelMonsterIcon.ListWindowViewRect = listWindowViewRect; this.csSelectPanelMonsterIcon.PARTS_CT_MN = 7; }
protected override void Awake() { base.Awake(); GUISelectPanelMonsterIcon.instance = this; this.StartUp_VA(); }