代码遗留上传
parent
12b7bebd5b
commit
e6fb571ca2
|
@ -15,6 +15,7 @@ function this:InitComponent(gameObject)
|
|||
this.jiesuoBtnText = Util.GetGameObject(this.jiesuoBtn, "Text"):GetComponent("Text")
|
||||
this.select = Util.GetGameObject(this.gameObject, "topBar/select")
|
||||
this.weekTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/weekTrail")
|
||||
this.weekTrailBtn.gameObject:SetActive(false)
|
||||
this.finalTrailBtn = Util.GetGameObject(this.gameObject, "topBar/button/finalTrail")
|
||||
this.weekTrailBtnRed = Util.GetGameObject(this.weekTrailBtn, "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.moveTween.MomentumAmount = 1
|
||||
this.ScrollView.moveTween.Strength = 2
|
||||
curType = 1
|
||||
curType = 2
|
||||
end
|
||||
|
||||
function this:BindEvent()
|
||||
|
|
Loading…
Reference in New Issue