get_set_texture.gui 617 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. script: ""
  2. fonts {
  3. name: "text24"
  4. font: "/assets/text48.font"
  5. }
  6. textures {
  7. name: "ui"
  8. texture: "/assets/ui.atlas"
  9. }
  10. nodes {
  11. position {
  12. x: 360.0
  13. y: 360.0
  14. }
  15. type: TYPE_BOX
  16. texture: "ui/logo-color"
  17. id: "box"
  18. inherit_alpha: true
  19. size_mode: SIZE_MODE_AUTO
  20. }
  21. nodes {
  22. position {
  23. x: 360.0
  24. y: 100.0
  25. }
  26. size {
  27. x: 200.0
  28. y: 100.0
  29. }
  30. color {
  31. x: 0.2
  32. y: 0.302
  33. z: 0.702
  34. }
  35. type: TYPE_TEXT
  36. text: "CLICK TO CHANGE TEXTURE"
  37. font: "text24"
  38. id: "text"
  39. inherit_alpha: true
  40. }
  41. material: "/builtins/materials/gui.material"
  42. adjust_reference: ADJUST_REFERENCE_PARENT