protected override void EventsBinding() { base.EventsBinding(); ToggleBinder toggleBinder = base.get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.ValueBinding.MemberName = "IsOn"; }
protected override void EventsBinding() { base.EventsBinding(); ToggleBinder toggleBinder = base.FindTransform("SubProperty").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SubProperty"; toggleBinder = base.FindTransform("SubFormation").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SubFormation"; }
protected override void EventsBinding() { base.EventsBinding(); ButtonBinder buttonBinder = base.FindTransform("BtnClose").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.OnClickBinding.MemberName = "OnBtnClose"; VisibilityBinder visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "SystemSetting01On"; visibilityBinder.Target = base.FindTransform("SystemSetting01").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "PushSettingOn"; visibilityBinder.Target = base.FindTransform("PushSetting").get_gameObject(); ToggleBinder toggleBinder = base.FindTransform("BTSystemSetting01").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SystemSetting01On"; toggleBinder = base.FindTransform("BTPushSetting").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "PushSettingOn"; }
protected override void DataBinding() { base.DataBinding(); TextBinder textBinder = base.FindTransform("titleName").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "Title"; textBinder = base.FindTransform("Content").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "Content"; textBinder = base.FindTransform("BtnLeftText").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "BtnLeftText"; textBinder = base.FindTransform("BtnRightText").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "BtnRightText"; textBinder = base.FindTransform("BtnConfirmText").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "BtnConfirmText"; textBinder = base.FindTransform("GoodNum").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "GoodNum"; textBinder = base.FindTransform("FinalContent").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "FinalContent"; textBinder = base.FindTransform("TwoContent").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "DescContent"; textBinder = base.FindTransform("Content2").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "Content2"; textBinder = base.FindTransform("DontShowAgainText").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "TextToggle"; VisibilityBinder visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "BtnLeftVisibility"; visibilityBinder.Target = base.FindTransform("BtnLeft").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "BtnRightVisibility"; visibilityBinder.Target = base.FindTransform("BtnRight").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "BtnConfirmVisibility"; visibilityBinder.Target = base.FindTransform("BtnConfirm").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "ContentVisibility"; visibilityBinder.Target = base.FindTransform("Content").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "Content1Visibility"; visibilityBinder.Target = base.FindTransform("Content1").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "Content2Visibility"; visibilityBinder.Target = base.FindTransform("Content2").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "ToggleDontShowAgainVisibility"; visibilityBinder.Target = base.FindTransform("DontShowAgain").get_gameObject(); visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "BtnCloseVisibility"; visibilityBinder.Target = base.FindTransform("BtnClose").get_gameObject(); ImageBinder imageBinder = base.FindTransform("BtnLeftBg").get_gameObject().AddComponent <ImageBinder>(); imageBinder.BindingProxy = base.get_gameObject(); imageBinder.SpriteBinding.MemberName = "ImageBtnL"; imageBinder = base.FindTransform("BtnRightBg").get_gameObject().AddComponent <ImageBinder>(); imageBinder.BindingProxy = base.get_gameObject(); imageBinder.SpriteBinding.MemberName = "ImageBtnR"; imageBinder = base.FindTransform("BtnConfirmBg").get_gameObject().AddComponent <ImageBinder>(); imageBinder.BindingProxy = base.get_gameObject(); imageBinder.SpriteBinding.MemberName = "ImageBtnC"; imageBinder = base.FindTransform("Good").get_gameObject().AddComponent <ImageBinder>(); imageBinder.BindingProxy = base.get_gameObject(); imageBinder.SpriteBinding.MemberName = "ImageGood"; ToggleBinder toggleBinder = base.FindTransform("DontShowAgain").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ToggleDontShowAgainOn"; toggleBinder.OffWhenDisable = false; }
protected override void DataBinding() { base.DataBinding(); ToggleBinder toggleBinder = base.FindTransform("GuideOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsGuideOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("PostProcessOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsPostProcessOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("PP_MotionBlurOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "PP_MotionBlurOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("PP_BloomOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "PP_BloomOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("ResolutionOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsResolutionOff"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("ResolutionOn1").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ResolutionOn1"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("ResolutionOn2").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ResolutionOn2"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("ResolutionOn3").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ResolutionOn3"; toggleBinder.OffWhenDisable = false; SliderBinder sliderBinder = base.FindTransform("PNSlider").get_gameObject().AddComponent <SliderBinder>(); sliderBinder.BindingProxy = base.get_gameObject(); sliderBinder.ValueBinding.MemberName = "PeopleNumAmount"; TextBinder textBinder = base.FindTransform("PNNum").get_gameObject().AddComponent <TextBinder>(); textBinder.BindingProxy = base.get_gameObject(); textBinder.LabelBinding.MemberName = "PeopleNum"; toggleBinder = base.FindTransform("ManNumOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsManNumOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("LOD1").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsLOD1On"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("LOD2").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsLOD2On"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("LOD3").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsLOD3On"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("AAOn1").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "AAOn0"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("AAOn2").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "AAOn2"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("AAOn3").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "AAOn4"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("AAOn4").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "AAOn8"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("MusicOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsMusicOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("SoundOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsSoundOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("HeadInfoOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "IsHeadInfoOn"; toggleBinder.OffWhenDisable = false; }
protected override void EventsBinding() { base.EventsBinding(); ToggleBinder toggleBinder = base.FindTransform("ChannelAll").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelWorldOn"; toggleBinder = base.FindTransform("ChannelGuild").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelGuildOn"; toggleBinder = base.FindTransform("ChannelPrivate").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelPrivateOn"; toggleBinder = base.FindTransform("ChannelSystem").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelSystemOn"; toggleBinder = base.FindTransform("ChannelTeam").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelTeamOn"; toggleBinder = base.FindTransform("ChannelTeamOrg").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelTeamOrgOn"; toggleBinder = base.FindTransform("BulletCurtainOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "BulletCurtainOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("ChannelTipOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelTipOn"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("ChannelMaskOn").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "ChannelMaskOn"; toggleBinder.OffWhenDisable = false; ButtonBinder buttonBinder = base.FindTransform("BtnShow").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnShowUp"; buttonBinder = base.FindTransform("BtnSend").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnSendUp"; buttonBinder = base.FindTransform("BtnFace").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnFaceUp"; buttonBinder = base.FindTransform("BtnPrivateTalk").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnPrivateTalkUp"; buttonBinder = base.FindTransform("BtnFriend").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnFriendUp"; buttonBinder = base.FindTransform("BtnSay").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnClickBtnSay"; buttonBinder = base.FindTransform("BtnClose").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnClickBtnClose"; ButtonValueBinder buttonValueBinder = base.FindTransform("RegionSendSay").get_gameObject().AddComponent <ButtonValueBinder>(); buttonValueBinder.BindingProxy = base.get_gameObject(); buttonValueBinder.IsPressedBinding.MemberName = "OnBtnSayIsPressed"; }
protected override void EventsBinding() { base.EventsBinding(); ToggleBinder toggleBinder = base.FindTransform("SubPets").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SubPanelPets"; toggleBinder = base.FindTransform("SubFormation").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SubPanelFormation"; toggleBinder = base.FindTransform("SubCombination").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SubPanelCombination"; toggleBinder = base.FindTransform("FnBtnLevel").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "FnBtnLevel"; toggleBinder = base.FindTransform("FnBtnUpgrade").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "FnBtnUpgrade"; toggleBinder = base.FindTransform("FnBtnSkillEvo").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "FnBtnSkillEvo"; toggleBinder = base.FindTransform("ToggleAttribute").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SubPanelSkillEvo"; toggleBinder.OffWhenDisable = false; toggleBinder = base.FindTransform("ToggleNatural").get_gameObject().AddComponent <ToggleBinder>(); toggleBinder.BindingProxy = base.get_gameObject(); toggleBinder.ValueBinding.MemberName = "SubPanelNaturalEvo"; toggleBinder.OffWhenDisable = false; ButtonBinder buttonBinder = base.FindTransform("MorphBtn").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnMorphBtnUp"; buttonBinder = base.FindTransform("SPBtnBuy").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnSPBtnBuyUp"; VisibilityBinder visibilityBinder = base.get_gameObject().AddComponent <VisibilityBinder>(); visibilityBinder.BindingProxy = base.get_gameObject(); visibilityBinder.ValueBinding.MemberName = "SPBtnBuyEnable"; visibilityBinder.Target = base.FindTransform("SPBtnBuy").get_gameObject(); ButtonCustomBinder buttonCustomBinder = base.FindTransform("SupportSkill").get_gameObject().AddComponent <ButtonCustomBinder>(); buttonCustomBinder.BindingProxy = base.get_gameObject(); buttonCustomBinder.OnDownBinding.MemberName = "OnSupportSkillBtnDown"; buttonCustomBinder.OnUpBinding.MemberName = "OnSupportSkillBtnUp"; buttonBinder = base.FindTransform("BtnLevel1").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnLevel1"; buttonBinder.EnabledBinding.MemberName = "BtnLevelOn"; buttonBinder = base.FindTransform("BtnLevel10").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnLevel10"; buttonBinder.EnabledBinding.MemberName = "BtnLevelOn"; buttonBinder = base.FindTransform("BtnUpgradeObtain").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnUpgradeObtainUp"; buttonBinder = base.FindTransform("BtnUpgrade").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnUpgradeUp"; buttonBinder.EnabledBinding.MemberName = "BtnUpgradeEnable"; buttonBinder = base.FindTransform("BtnPreview").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnPreview"; buttonBinder = base.FindTransform("SubPPIArrowL").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnPPIArrowL"; buttonBinder = base.FindTransform("SubPPIArrowR").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnPPIArrowR"; buttonBinder = base.FindTransform("BtnFollow").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnFollowUp"; buttonBinder = base.FindTransform("BtnResetLevel").get_gameObject().AddComponent <ButtonBinder>(); buttonBinder.BindingProxy = base.get_gameObject(); buttonBinder.OnClickBinding.MemberName = "OnBtnResetLevel"; buttonBinder.EnabledBinding.MemberName = "BtnResetLevelOn"; }