分解白片修改
parent
2ccb8b514d
commit
aa3a7c7dff
|
@ -11,6 +11,7 @@ function this:InitComponent(gameObject)
|
|||
this.helpPos=this.helpBtn:GetComponent("RectTransform").localPosition
|
||||
--回溯按钮
|
||||
this.confirmBtn=Util.GetGameObject(gameObject,"Content/Resolve_Dismantle/ConfirmBtn")
|
||||
Util.GetGameObject(this.confirmBtn,"Image"):GetComponent("Image").sprite = Util.LoadSprite("gongsonganniu_zh")
|
||||
this.shopBtn=Util.GetGameObject(gameObject,"Content/Resolve_Dismantle/shopBtn")
|
||||
this.shopBtn:GetComponent("Image").sprite = Util.LoadSprite("r_shangdian_zh")
|
||||
this.selectText = Util.GetGameObject(gameObject,"Content/Resolve_Dismantle/selectNumText"):GetComponent("Text")
|
||||
|
|
|
@ -29,6 +29,7 @@ function this:InitComponent(gameObject)
|
|||
this.ScrollView.moveTween.MomentumAmount = 1
|
||||
this.ScrollView.moveTween.Strength = 1
|
||||
maxSelectNum =tonumber(ConfigManager.GetConfigData(ConfigName.SpecialConfig,55).Value)
|
||||
Util.GetGameObject(this.confirmBtn,"Image"):GetComponent("Image").sprite = Util.LoadSprite("h_xianji_fenjieanniu_zh")
|
||||
end
|
||||
|
||||
function this:BindEvent()
|
||||
|
|
|
@ -26,6 +26,7 @@ function this:InitComponent(gameObject)
|
|||
this.cardPre, this.scrollbar, Vector2.New(v21.width, v21.height), 1, 5, Vector2.New(43,15))
|
||||
this.ScrollView.moveTween.MomentumAmount = 1
|
||||
this.ScrollView.moveTween.Strength = 1
|
||||
Util.GetGameObject(this.confirmBtn,"Image"):GetComponent("Image").sprite = Util.LoadSprite("guiyuananniu_zh")
|
||||
end
|
||||
|
||||
function this:BindEvent()
|
||||
|
|
|
@ -28,6 +28,7 @@ function this:InitComponent(gameObject)
|
|||
this.cardPre, this.scrollbar, Vector2.New(v21.width, v21.height), 1, 5, Vector2.New(43,15))
|
||||
this.ScrollView.moveTween.MomentumAmount = 1
|
||||
this.ScrollView.moveTween.Strength = 1
|
||||
Util.GetGameObject(this.confirmBtn,"Image"):GetComponent("Image").sprite = Util.LoadSprite("h_guiyuan_anniu_zh")
|
||||
end
|
||||
|
||||
function this:BindEvent()
|
||||
|
|
Loading…
Reference in New Issue