parent
f965a5be22
commit
45341d0471
|
|
@ -23,6 +23,7 @@ function this:InitComponent()
|
||||||
self.tipButtomMat = self.tipButtomRoot:GetComponent("Image").material
|
self.tipButtomMat = self.tipButtomRoot:GetComponent("Image").material
|
||||||
self.tipButtomMat:SetFloat("_ScaleX", Screen.width / Screen.height)
|
self.tipButtomMat:SetFloat("_ScaleX", Screen.width / Screen.height)
|
||||||
self.tipButtomMat:SetFloat("_R", 0.1)
|
self.tipButtomMat:SetFloat("_R", 0.1)
|
||||||
|
self.tipButtomMat:SetFloat("_CutOff", 0.22)
|
||||||
self.button = Util.GetGameObject (self.tipButtomRoot, "button")
|
self.button = Util.GetGameObject (self.tipButtomRoot, "button")
|
||||||
self.upArrow = Util.GetGameObject (self.gameObject, "upArrow")
|
self.upArrow = Util.GetGameObject (self.gameObject, "upArrow")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue