C# Class FairyGUI.UIConfig

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: fairygui/FairyGUI-unity Class Usage Examples

Méthodes publiques

Свойство Type Description
Items List
PreloadPackages List
allowSoftnessOnTopOrLeftSide bool
bringWindowToFrontOnClick bool
buttonSound UnityEngine.AudioClip
buttonSoundVolumeScale float
clickDragSensitivity int
defaultComboBoxVisibleItemCount int
defaultFont string
defaultScrollBarDisplay ScrollBarDisplayType
defaultScrollBounceEffect bool
defaultScrollSpeed float
defaultScrollTouchEffect bool
defaultTouchScrollSpeedRatio float
frameTimeForAsyncUIConstruction float
globalModalWaiting String
horizontalScrollBar string
inputCaretSize int
inputHighlightColor Color
loaderErrorSign string
modalLayerColor Color
popupMenu string
popupMenu_seperator string
renderingTextBrighterOnDesktop bool
tooltipsWin string
touchDragSensitivity int
touchScrollSensitivity int
verticalScrollBar string
windowModalWaiting string

Méthodes publiques

Méthode Description
ApplyModifiedProperties ( ) : void
ClearResourceRefs ( ) : void
Load ( ) : void

Private Methods

Méthode Description
Awake ( ) : void

Method Details

ApplyModifiedProperties() public méthode

public ApplyModifiedProperties ( ) : void
Résultat void

ClearResourceRefs() public static méthode

public static ClearResourceRefs ( ) : void
Résultat void

Load() public méthode

public Load ( ) : void
Résultat void

Property Details

Items public_oe property

public List Items
Résultat List

PreloadPackages public_oe property

public List PreloadPackages
Résultat List

allowSoftnessOnTopOrLeftSide public_oe static_oe property

Allow softness on top or left side for scrollpane.
public static bool allowSoftnessOnTopOrLeftSide
Résultat bool

bringWindowToFrontOnClick public_oe static_oe property

When click the window, brings to front automatically.
public static bool bringWindowToFrontOnClick
Résultat bool

buttonSound public_oe static_oe property

Default button click sound.
public static AudioClip,UnityEngine buttonSound
Résultat UnityEngine.AudioClip

buttonSoundVolumeScale public_oe static_oe property

Default button click sound volume.
public static float buttonSoundVolumeScale
Résultat float

clickDragSensitivity public_oe static_oe property

Pixel offsets of mouse pointer to trigger dragging.
public static int clickDragSensitivity
Résultat int

defaultComboBoxVisibleItemCount public_oe static_oe property

The number of visible items in ComboBox.
public static int defaultComboBoxVisibleItemCount
Résultat int

defaultFont public_oe static_oe property

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 static string defaultFont
Résultat string

defaultScrollBarDisplay public_oe static_oe property

Scrollbar display mode. Recommended 'Auto' for mobile and 'Visible' for web.
public static ScrollBarDisplayType defaultScrollBarDisplay
Résultat ScrollBarDisplayType

defaultScrollBounceEffect public_oe static_oe property

The "rebound" effect in the scolling container.
public static bool defaultScrollBounceEffect
Résultat bool

defaultScrollSpeed public_oe static_oe property

Scrolling step in pixels
public static float defaultScrollSpeed
Résultat float

defaultScrollTouchEffect public_oe static_oe property

Allow dragging anywhere in container to scroll.
public static bool defaultScrollTouchEffect
Résultat bool

defaultTouchScrollSpeedRatio public_oe static_oe property

Speed ratio of scrollpane when its touch dragging.
public static float defaultTouchScrollSpeedRatio
Résultat float

frameTimeForAsyncUIConstruction public_oe static_oe property

public static float frameTimeForAsyncUIConstruction
Résultat float

globalModalWaiting public_oe static_oe property

Resource using in GRoot.ShowModalWait for locking the screen.
public static String globalModalWaiting
Résultat String

horizontalScrollBar public_oe static_oe property

Resource url of horizontal scrollbar
public static string horizontalScrollBar
Résultat string

inputCaretSize public_oe static_oe property

public static int inputCaretSize
Résultat int

inputHighlightColor public_oe static_oe property

public static Color inputHighlightColor
Résultat Color

loaderErrorSign public_oe static_oe property

In case of failure of loading content for GLoader, use this sign to indicate an error.
public static string loaderErrorSign
Résultat string

modalLayerColor public_oe static_oe property

When a modal window is in front, the background becomes dark.
public static Color modalLayerColor
Résultat Color

popupMenu public_oe static_oe property

Resources url of PopupMenu.
public static string popupMenu
Résultat string

popupMenu_seperator public_oe static_oe property

Resource url of menu seperator.
public static string popupMenu_seperator
Résultat string

renderingTextBrighterOnDesktop public_oe static_oe property

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 static bool renderingTextBrighterOnDesktop
Résultat bool

tooltipsWin public_oe static_oe property

Resource url of tooltips.
public static string tooltipsWin
Résultat string

touchDragSensitivity public_oe static_oe property

Pixel offsets of finger to trigger dragging
public static int touchDragSensitivity
Résultat int

touchScrollSensitivity public_oe static_oe property

Pixel offsets of finger to trigger scrolling
public static int touchScrollSensitivity
Résultat int

verticalScrollBar public_oe static_oe property

Resource url of vertical scrollbar
public static string verticalScrollBar
Résultat string

windowModalWaiting public_oe static_oe property

Resource using in Window.ShowModalWait for locking the window.
public static string windowModalWaiting
Résultat string