功能:選單按鈕

Function: MenuButton


點擊可展開多個顯示選項

Click to expand multiple display options.

屬性Attributes


Untitled

範例Examples


MenuButtonExample:
  Type: MenuButton
  DisplayFont: '按鈕!!'
  FontSize: 1
  OnImage: 'fancyclient/textures/gui/button/button_on.png'
  OnWidth: -1
  OnHeight: -1
  OffImage: 'fancyclient/textures/gui/button/button_off.png'
  OffWidth: -1
  OffHeight: -1
  ObjectList: 
    Close:
      Object: 'ExampleObject.ButtonExample'
      Position: 1
      X: 320
      Y: 30
    Image:
      Object: 'ExampleObject.ImageExample'
      Position: 1
      X: 320
      Y: 50
    Close2:
      Object: 'ExampleObject.ButtonExample'
      Position: 1
      X: 320
      Y: 70
    Text:
      Object: 'ExampleObject.TextExample'
      Position: 1
      X: 320
      Y: 90