get_set_material.gui 713 B

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