RoleBtn.xml 1.9 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <component size="100,100" pivot="0.5,0.5" extention="Button" designImage="ui://rbw1tv9tpiud9c" designImageOffsetX="-10" designImageOffsetY="-1201" designImageLayer="1">
  3. <controller name="button" pages="0,up,1,down" selected="1"/>
  4. <controller name="UnlockCtrl" exported="true" pages="0,lock,1,unlock" selected="0">
  5. <remark page="0" value="未解锁"/>
  6. <remark page="1" value="已解锁"/>
  7. </controller>
  8. <displayList>
  9. <loader id="n0_lgtn" name="icon" xy="0,-24" size="100,100" url="ui://rbw1tv9tpiud9r" align="center" vAlign="middle" color="#666666">
  10. <gearDisplay controller="UnlockCtrl" pages="0,1"/>
  11. <gearXY controller="button" pages="1" values="0,-24" default="0,0"/>
  12. <gearColor controller="UnlockCtrl" pages="0" values="#666666" default="#ffffff"/>
  13. <relation target="" sidePair="width-width,height-height"/>
  14. </loader>
  15. <image id="n4_hx4m" name="n4" src="piuda0" fileName="Image1/Select.png" xy="50,70" pivot="0.5,0.5" anchor="true">
  16. <gearDisplay controller="button" pages="1"/>
  17. </image>
  18. <text id="n1_lgtn" name="title" xy="1,75" size="90,34" fontSize="24" color="#ffffff" align="center" vAlign="middle" autoSize="none" strokeColor="#000000" singleLine="true" text="角色">
  19. <gearDisplay controller="UnlockCtrl" pages="1"/>
  20. <relation target="" sidePair="width-width,height-height"/>
  21. </text>
  22. <image id="n2_pa7c" name="n2" src="piud9s" fileName="Image1/lock.png" xy="48,43" pivot="0.5,0.5" anchor="true">
  23. <gearDisplay controller="UnlockCtrl" pages="0"/>
  24. </image>
  25. <text id="n3_pa7c" name="UnlockTxt" xy="53,84" pivot="0.5,0.5" anchor="true" size="90,54" fontSize="18" color="#fff7d6" align="center" vAlign="middle" autoSize="none" text="主线3&#xA;解锁">
  26. <gearDisplay controller="UnlockCtrl" pages="0"/>
  27. </text>
  28. </displayList>
  29. <Button mode="Radio"/>
  30. <customProperty target="UnlockTxt" propertyId="0" label="未解锁文本"/>
  31. </component>