Click or drag to resize
UIConfig Class
Global configs. These options should be set before any UI construction.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          FairyGUIUIConfig

Namespace: FairyGUI
Assembly: FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class UIConfig : MonoBehaviour

The UIConfig type exposes the following members.

Constructors
  NameDescription
Public methodUIConfig
Initializes a new instance of the UIConfig class
Top
Methods
  NameDescription
Public methodApplyModifiedProperties
Public methodBroadcastMessage(String) (Inherited from Component.)
Public methodBroadcastMessage(String, Object) (Inherited from Component.)
Public methodBroadcastMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodBroadcastMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodCancelInvoke (Inherited from MonoBehaviour.)
Public methodCancelInvoke(String) (Inherited from MonoBehaviour.)
Public methodStatic memberClearResourceRefs
Public methodCompareTag (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Public methodGetComponent(Type) (Inherited from Component.)
Public methodGetComponent(String) (Inherited from Component.)
Public methodGetComponent``1 (Inherited from Component.)
Public methodGetComponentInChildren(Type) (Inherited from Component.)
Public methodGetComponentInChildren``1 (Inherited from Component.)
Public methodGetComponentInParent(Type) (Inherited from Component.)
Public methodGetComponentInParent``1 (Inherited from Component.)
Public methodGetComponents(Type) (Inherited from Component.)
Public methodGetComponents(Type, ListComponent) (Inherited from Component.)
Public methodGetComponents``1 (Inherited from Component.)
Public methodGetComponents``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren(Type) (Inherited from Component.)
Public methodGetComponentsInChildren(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren``1 (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetComponentsInParent(Type) (Inherited from Component.)
Public methodGetComponentsInParent(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1 (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID (Inherited from Object.)
Public methodInvoke (Inherited from MonoBehaviour.)
Public methodInvokeRepeating (Inherited from MonoBehaviour.)
Public methodIsInvoking (Inherited from MonoBehaviour.)
Public methodIsInvoking(String) (Inherited from MonoBehaviour.)
Public methodLoad
Public methodSendMessage(String) (Inherited from Component.)
Public methodSendMessage(String, Object) (Inherited from Component.)
Public methodSendMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object) (Inherited from Component.)
Public methodSendMessageUpwards(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodStartCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String, Object) (Inherited from MonoBehaviour.)
Public methodStartCoroutine_Auto (Inherited from MonoBehaviour.)
Public methodStopAllCoroutines (Inherited from MonoBehaviour.)
Public methodStopCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(Coroutine) (Inherited from MonoBehaviour.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberallowSoftnessOnTopOrLeftSide
Allow softness on top or left side for scrollpane.
Public fieldStatic memberbringWindowToFrontOnClick
When click the window, brings to front automatically.
Public fieldStatic memberbuttonSound
Default button click sound.
Public fieldStatic memberbuttonSoundVolumeScale
Default button click sound volume.
Public fieldStatic memberclickDragSensitivity
Pixel offsets of mouse pointer to trigger dragging.
Public fieldStatic memberdefaultComboBoxVisibleItemCount
The number of visible items in ComboBox.
Public fieldStatic memberdefaultFont
Dynamic Font Support. 4.x: Put the xxx.ttf into /Resources or /Resources/Font, and set defaultFont="xxx". 5.x: set defaultFont to system font name(or names joint with comma). e.g. defaultFont="Microsoft YaHei, SimHei"
Public fieldStatic memberdefaultScrollBarDisplay
Scrollbar display mode. Recommended 'Auto' for mobile and 'Visible' for web.
Public fieldStatic memberdefaultScrollBounceEffect
The "rebound" effect in the scolling container.
Public fieldStatic memberdefaultScrollSpeed
Scrolling step in pixels
Public fieldStatic memberdefaultScrollTouchEffect
Allow dragging anywhere in container to scroll.
Public fieldStatic memberdefaultTouchScrollSpeedRatio
Speed ratio of scrollpane when its touch dragging.
Public fieldStatic memberframeTimeForAsyncUIConstruction
Public fieldStatic memberglobalModalWaiting
Resource using in GRoot.ShowModalWait for locking the screen.
Public fieldStatic memberhorizontalScrollBar
Resource url of horizontal scrollbar
Public fieldStatic memberinputCaretSize
Public fieldStatic memberinputHighlightColor
Public fieldItems
Public fieldStatic memberloaderErrorSign
In case of failure of loading content for GLoader, use this sign to indicate an error.
Public fieldStatic membermodalLayerColor
When a modal window is in front, the background becomes dark.
Public fieldStatic memberpopupMenu
Resources url of PopupMenu.
Public fieldStatic memberpopupMenu_seperator
Resource url of menu seperator.
Public fieldPreloadPackages
Public fieldStatic memberrenderingTextBrighterOnDesktop
When using chinese fonts on desktop, I found that the display effect is not very clear. So I wrote shaders to light up their outline. If you dont use chinese fonts, or dont like the new effect, just set to false here. The switch is meaningless on mobile platforms.
Public fieldStatic membertooltipsWin
Resource url of tooltips.
Public fieldStatic membertouchDragSensitivity
Pixel offsets of finger to trigger dragging
Public fieldStatic membertouchScrollSensitivity
Pixel offsets of finger to trigger scrolling
Public fieldStatic memberverticalScrollBar
Resource url of vertical scrollbar
Public fieldStatic memberwindowModalWaiting
Resource using in Window.ShowModalWait for locking the window.
Top
Properties
  NameDescription
Public propertyanimation Obsolete. (Inherited from Component.)
Public propertyaudio Obsolete. (Inherited from Component.)
Public propertycamera Obsolete. (Inherited from Component.)
Public propertycollider Obsolete. (Inherited from Component.)
Public propertycollider2D Obsolete. (Inherited from Component.)
Public propertyconstantForce Obsolete. (Inherited from Component.)
Public propertyenabled (Inherited from Behaviour.)
Public propertygameObject (Inherited from Component.)
Public propertyguiElement Obsolete. (Inherited from Component.)
Public propertyguiText Obsolete. (Inherited from Component.)
Public propertyguiTexture Obsolete. (Inherited from Component.)
Public propertyhideFlags (Inherited from Object.)
Public propertyhingeJoint Obsolete. (Inherited from Component.)
Public propertyisActiveAndEnabled (Inherited from Behaviour.)
Public propertylight Obsolete. (Inherited from Component.)
Public propertyname (Inherited from Object.)
Public propertynetworkView Obsolete. (Inherited from Component.)
Public propertyparticleEmitter Obsolete. (Inherited from Component.)
Public propertyparticleSystem Obsolete. (Inherited from Component.)
Public propertyrenderer Obsolete. (Inherited from Component.)
Public propertyrigidbody Obsolete. (Inherited from Component.)
Public propertyrigidbody2D Obsolete. (Inherited from Component.)
Public propertytag (Inherited from Component.)
Public propertytransform (Inherited from Component.)
Public propertyuseGUILayout (Inherited from MonoBehaviour.)
Top
See Also