Merge branch 'tcx_xiyou_yueNan' of http://192.168.1.21:3000/root/miduo_client into tcx_xiyou_yueNan
commit
cd30e96c7d
|
@ -15,6 +15,7 @@ function this:InitComponent(gameObject)
|
||||||
this.jiesuoBtnText = Util.GetGameObject(this.jiesuoBtn, "Text"):GetComponent("Text")
|
this.jiesuoBtnText = Util.GetGameObject(this.jiesuoBtn, "Text"):GetComponent("Text")
|
||||||
this.select = Util.GetGameObject(this.gameObject, "topBar/select")
|
this.select = Util.GetGameObject(this.gameObject, "topBar/select")
|
||||||
this.weekTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/weekTrail")
|
this.weekTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/weekTrail")
|
||||||
|
this.weekTrailBtn.gameObject:SetActive(false)
|
||||||
this.finalTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/finalTrail")
|
this.finalTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/finalTrail")
|
||||||
this.weekTrailBtnRed = Util.GetGameObject(this.weekTrailBtn, "redPoint")
|
this.weekTrailBtnRed = Util.GetGameObject(this.weekTrailBtn, "redPoint")
|
||||||
this.finalTrailBtnRed = Util.GetGameObject(this.finalTrailBtn, "redPoint")
|
this.finalTrailBtnRed = Util.GetGameObject(this.finalTrailBtn, "redPoint")
|
||||||
|
@ -39,7 +40,7 @@ function this:InitComponent(gameObject)
|
||||||
this.ScrollView.gameObject:GetComponent("RectTransform").pivot = Vector2.New(0.5, 0.5)
|
this.ScrollView.gameObject:GetComponent("RectTransform").pivot = Vector2.New(0.5, 0.5)
|
||||||
this.ScrollView.moveTween.MomentumAmount = 1
|
this.ScrollView.moveTween.MomentumAmount = 1
|
||||||
this.ScrollView.moveTween.Strength = 2
|
this.ScrollView.moveTween.Strength = 2
|
||||||
curType = 1
|
curType = 2
|
||||||
end
|
end
|
||||||
|
|
||||||
function this:BindEvent()
|
function this:BindEvent()
|
||||||
|
|
Loading…
Reference in New Issue