UI のコンポーネント
UI のコンポーネントは 34 種類です。
AspectRatioFitter
Section titled “AspectRatioFitter”| 型 | UnityEngine.UI.AspectRatioFitter |
| Transform | RectTransform になります |
属性は 3 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
aspectMode | 列挙 | None | None・WidthControlsHeight・HeightControlsWidth・FitInParent・EnvelopeParent |
aspectRatio | float | 1 | 0.001 – 1000 |
enabled | bool | true |
BaseInput
Section titled “BaseInput”| 型 | UnityEngine.EventSystems.BaseInput |
属性は 1 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true |
Button
Section titled “Button”| 型 | UnityEngine.UI.Button |
属性は 27 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
animationTriggers.disabledTrigger | string | Disabled | |
animationTriggers.highlightedTrigger | string | Highlighted | |
animationTriggers.normalTrigger | string | Normal | |
animationTriggers.pressedTrigger | string | Pressed | |
animationTriggers.selectedTrigger | string | Selected | |
colors.colorMultiplier | float | 1 | |
colors.disabledColor | Color | #C8C8C880 | |
colors.fadeDuration | float | 0.1 | ≥ 0 |
colors.highlightedColor | Color | #F5F5F5 | |
colors.normalColor | Color | #FFFFFF | |
colors.pressedColor | Color | #C8C8C8 | |
colors.selectedColor | Color | #F5F5F5 | |
enabled | bool | true | |
interactable | bool | true | |
navigation.mode | 列挙 | Automatic | None・Horizontal・Vertical・Automatic・Explicit |
navigation.selectOnDown | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnLeft | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnRight | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnUp | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.wrapAround | bool | false | |
onClick | UnityEvent | なし | |
spriteState.disabledSprite | Sprite | なし | |
spriteState.highlightedSprite | Sprite | なし | |
spriteState.pressedSprite | Sprite | なし | |
spriteState.selectedSprite | Sprite | なし | |
targetGraphic | Graphic | なし | 同じ prefab の中の物へのパス |
transition | 列挙 | ColorTint | None・ColorTint・SpriteSwap・Animation |
Canvas
Section titled “Canvas”| 型 | UnityEngine.Canvas |
| Transform | RectTransform になります |
属性は 15 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
additionalShaderChannels | 列挙(組み合わせ) | None | None・TexCoord1・TexCoord2・TexCoord3・Normal・Tangent |
camera | Camera | なし | 同じ prefab の中の物へのパス |
enabled | bool | true | |
normalizedSortingGridSize | float | 0 | |
overridePixelPerfect | bool | false | |
overrideSorting | bool | false | |
pixelPerfect | bool | false | |
planeDistance | float | 100 | |
receivesEvents | bool | true | |
renderMode | 列挙 | WorldSpace | ScreenSpaceOverlay・ScreenSpaceCamera・WorldSpace |
sortingLayerID | int | 0 | |
sortingOrder | int | 0 | -32768 – 32767 |
targetDisplay | int | 0 | -128 – 127 |
updateRectTransformForStandalone | 列挙 | Enabled | Enabled・Disabled |
vertexColorAlwaysGammaSpace | bool | false |
CanvasGroup
Section titled “CanvasGroup”| 型 | UnityEngine.CanvasGroup |
属性は 5 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
alpha | float | 1 | 0 – 1 |
blocksRaycasts | bool | true | |
enabled | bool | true | |
ignoreParentGroups | bool | false | |
interactable | bool | true |
CanvasRenderer
Section titled “CanvasRenderer”| 型 | UnityEngine.CanvasRenderer |
属性は 1 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
cullTransparentMesh | bool | true |
CanvasScaler
Section titled “CanvasScaler”| 型 | UnityEngine.UI.CanvasScaler |
| 自動で足すコンポーネント | Canvas |
| Transform | RectTransform になります |
属性は 12 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
defaultSpriteDPI | float | 96 | ≥ 1 |
dynamicPixelsPerUnit | float | 1 | |
enabled | bool | true | |
fallbackScreenDPI | float | 96 | |
matchWidthOrHeight | float | 0 | |
physicalUnit | 列挙 | Points | Centimeters・Millimeters・Inches・Points・Picas |
presetInfoIsWorld | bool | false | |
referencePixelsPerUnit | float | 100 | |
referenceResolution | Vector2 | 800 600 | |
scaleFactor | float | 1 | ≥ 0.01 |
screenMatchMode | 列挙 | MatchWidthOrHeight | MatchWidthOrHeight・Expand・Shrink |
uiScaleMode | 列挙 | ConstantPixelSize | ConstantPixelSize・ScaleWithScreenSize・ConstantPhysicalSize |
ContentSizeFitter
Section titled “ContentSizeFitter”| 型 | UnityEngine.UI.ContentSizeFitter |
| Transform | RectTransform になります |
属性は 3 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true | |
horizontalFit | 列挙 | Unconstrained | Unconstrained・MinSize・PreferredSize |
verticalFit | 列挙 | Unconstrained | Unconstrained・MinSize・PreferredSize |
Dropdown
Section titled “Dropdown”| 型 | UnityEngine.UI.Dropdown |
| Transform | RectTransform になります |
属性は 34 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
alphaFadeSpeed | float | 0.15 | |
animationTriggers.disabledTrigger | string | Disabled | |
animationTriggers.highlightedTrigger | string | Highlighted | |
animationTriggers.normalTrigger | string | Normal | |
animationTriggers.pressedTrigger | string | Pressed | |
animationTriggers.selectedTrigger | string | Selected | |
captionImage | Image | なし | 同じ prefab の中の物へのパス |
captionText | Text | なし | 同じ prefab の中の物へのパス |
colors.colorMultiplier | float | 1 | |
colors.disabledColor | Color | #C8C8C880 | |
colors.fadeDuration | float | 0.1 | ≥ 0 |
colors.highlightedColor | Color | #F5F5F5 | |
colors.normalColor | Color | #FFFFFF | |
colors.pressedColor | Color | #C8C8C8 | |
colors.selectedColor | Color | #F5F5F5 | |
enabled | bool | true | |
interactable | bool | true | |
itemImage | Image | なし | 同じ prefab の中の物へのパス |
itemText | Text | なし | 同じ prefab の中の物へのパス |
navigation.mode | 列挙 | Automatic | None・Horizontal・Vertical・Automatic・Explicit |
navigation.selectOnDown | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnLeft | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnRight | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnUp | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.wrapAround | bool | false | |
onValueChanged | UnityEvent | なし | |
spriteState.disabledSprite | Sprite | なし | |
spriteState.highlightedSprite | Sprite | なし | |
spriteState.pressedSprite | Sprite | なし | |
spriteState.selectedSprite | Sprite | なし | |
targetGraphic | Graphic | なし | 同じ prefab の中の物へのパス |
template | RectTransform | なし | 同じ prefab の中の物へのパス |
transition | 列挙 | ColorTint | None・ColorTint・SpriteSwap・Animation |
value | int | 0 |
子の要素 <OptionData> の属性(構造の配列) | 型 | 既定値 |
|---|---|---|
text | string | 空 |
image | Sprite のアセット | なし |
EventSystem
Section titled “EventSystem”| 型 | UnityEngine.EventSystems.EventSystem |
属性は 4 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true | |
firstSelected | GameObject | なし | 同じ prefab の中の物へのパス |
pixelDragThreshold | int | 10 | |
sendNavigationEvents | bool | true |
EventTrigger
Section titled “EventTrigger”| 型 | UnityEngine.EventSystems.EventTrigger |
属性は 1 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true |
GraphicRaycaster
Section titled “GraphicRaycaster”| 型 | UnityEngine.UI.GraphicRaycaster |
| 自動で足すコンポーネント | Canvas |
| Transform | RectTransform になります |
属性は 4 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
blockingMask | LayerMask | Everything | |
blockingObjects | 列挙 | None | None・TwoD・ThreeD・All |
enabled | bool | true | |
ignoreReversedGraphics | bool | true |
GridLayoutGroup
Section titled “GridLayoutGroup”| 型 | UnityEngine.UI.GridLayoutGroup |
| Transform | RectTransform になります |
属性は 12 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
cellSize | Vector2 | 100 100 | |
childAlignment | 列挙 | UpperLeft | UpperLeft・UpperCenter・UpperRight・MiddleLeft・MiddleCenter・MiddleRight・LowerLeft・LowerCenter・LowerRight |
constraint | 列挙 | Flexible | Flexible・FixedColumnCount・FixedRowCount |
constraintCount | int | 2 | |
enabled | bool | true | |
padding.bottom | int | 0 | |
padding.left | int | 0 | |
padding.right | int | 0 | |
padding.top | int | 0 | |
spacing | Vector2 | 0 0 | |
startAxis | 列挙 | Horizontal | Horizontal・Vertical |
startCorner | 列挙 | UpperLeft | UpperLeft・UpperRight・LowerLeft・LowerRight |
HorizontalLayoutGroup
Section titled “HorizontalLayoutGroup”| 型 | UnityEngine.UI.HorizontalLayoutGroup |
| Transform | RectTransform になります |
属性は 14 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
childAlignment | 列挙 | UpperLeft | UpperLeft・UpperCenter・UpperRight・MiddleLeft・MiddleCenter・MiddleRight・LowerLeft・LowerCenter・LowerRight |
childControlHeight | bool | false | |
childControlWidth | bool | false | |
childForceExpandHeight | bool | true | |
childForceExpandWidth | bool | true | |
childScaleHeight | bool | false | |
childScaleWidth | bool | false | |
enabled | bool | true | |
padding.bottom | int | 0 | |
padding.left | int | 0 | |
padding.right | int | 0 | |
padding.top | int | 0 | |
reverseArrangement | bool | false | |
spacing | float | 0 |
| 型 | UnityEngine.UI.Image |
| 自動で足すコンポーネント | CanvasRenderer |
| Transform | RectTransform になります |
属性は 17 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
color | Color | #FFFFFF | |
enabled | bool | true | |
fillAmount | float | 1 | 0 – 1 |
fillCenter | bool | true | |
fillClockwise | bool | true | |
fillMethod | 列挙 | Radial360 | Horizontal・Vertical・Radial90・Radial180・Radial360 |
fillOrigin | int | 0 | |
maskable | bool | true | |
material | Material | なし | |
onCullStateChanged | UnityEvent | なし | |
pixelsPerUnitMultiplier | float | 1 | ≥ 0.01 |
preserveAspect | bool | false | |
raycastPadding | Vector4 | 0 0 0 0 | |
raycastTarget | bool | true | |
sprite | Sprite | なし | |
type | 列挙 | Simple | Simple・Sliced・Tiled・Filled |
useSpriteMesh | bool | false |
InputField
Section titled “InputField”| 型 | UnityEngine.UI.InputField |
属性は 46 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
animationTriggers.disabledTrigger | string | Disabled | |
animationTriggers.highlightedTrigger | string | Highlighted | |
animationTriggers.normalTrigger | string | Normal | |
animationTriggers.pressedTrigger | string | Pressed | |
animationTriggers.selectedTrigger | string | Selected | |
caretBlinkRate | float | 0.85 | |
caretColor | Color | #323232 | |
caretWidth | int | 1 | |
characterLimit | int | 0 | ≥ 0 |
characterValidation | 列挙 | None | None・Integer・Decimal・Alphanumeric・Name・EmailAddress |
colors.colorMultiplier | float | 1 | |
colors.disabledColor | Color | #C8C8C880 | |
colors.fadeDuration | float | 0.1 | ≥ 0 |
colors.highlightedColor | Color | #F5F5F5 | |
colors.normalColor | Color | #FFFFFF | |
colors.pressedColor | Color | #C8C8C8 | |
colors.selectedColor | Color | #F5F5F5 | |
contentType | 列挙 | Standard | Standard・Autocorrected・IntegerNumber・DecimalNumber・Alphanumeric・Name・EmailAddress・Password・Pin・Custom |
customCaretColor | bool | false | |
enabled | bool | true | |
hideMobileInput | bool | false | |
inputType | 列挙 | Standard | Standard・AutoCorrect・Password |
interactable | bool | true | |
keyboardType | 列挙 | Default | Default・ASCIICapable・NumbersAndPunctuation・URL・NumberPad・PhonePad・NamePhonePad・EmailAddress・NintendoNetworkAccount・Social・Search・DecimalPad・OneTimeCode |
lineType | 列挙 | SingleLine | SingleLine・MultiLineSubmit・MultiLineNewline |
navigation.mode | 列挙 | Automatic | None・Horizontal・Vertical・Automatic・Explicit |
navigation.selectOnDown | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnLeft | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnRight | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnUp | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.wrapAround | bool | false | |
onDidEndEdit | UnityEvent | なし | |
onSubmit | UnityEvent | なし | |
onValueChanged | UnityEvent | なし | |
placeholder | Graphic | なし | 同じ prefab の中の物へのパス |
readOnly | bool | false | |
selectionColor | Color | #A8CEFFC0 | |
shouldActivateOnSelect | bool | true | |
spriteState.disabledSprite | Sprite | なし | |
spriteState.highlightedSprite | Sprite | なし | |
spriteState.pressedSprite | Sprite | なし | |
spriteState.selectedSprite | Sprite | なし | |
targetGraphic | Graphic | なし | 同じ prefab の中の物へのパス |
text | string | 空 | |
textComponent | Text | なし | 同じ prefab の中の物へのパス |
transition | 列挙 | ColorTint | None・ColorTint・SpriteSwap・Animation |
LayoutElement
Section titled “LayoutElement”| 型 | UnityEngine.UI.LayoutElement |
| Transform | RectTransform になります |
属性は 9 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true | |
flexibleHeight | float | -1 | |
flexibleWidth | float | -1 | |
ignoreLayout | bool | false | |
layoutPriority | int | 1 | |
minHeight | float | -1 | |
minWidth | float | -1 | |
preferredHeight | float | -1 | |
preferredWidth | float | -1 |
| 型 | UnityEngine.UI.Mask |
| Transform | RectTransform になります |
属性は 2 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true | |
showMaskGraphic | bool | true |
Outline
Section titled “Outline”| 型 | UnityEngine.UI.Outline |
属性は 4 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
effectColor | Color | #00000080 | |
effectDistance | Vector2 | 1 -1 | |
enabled | bool | true | |
useGraphicAlpha | bool | true |
PhysicsRaycaster
Section titled “PhysicsRaycaster”| 型 | UnityEngine.EventSystems.PhysicsRaycaster |
| 自動で足すコンポーネント | Camera |
属性は 3 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true | |
eventMask | LayerMask | Everything | |
maxRayIntersections | int | 0 |
PositionAsUV1
Section titled “PositionAsUV1”| 型 | UnityEngine.UI.PositionAsUV1 |
属性は 1 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true |
RawImage
Section titled “RawImage”| 型 | UnityEngine.UI.RawImage |
| 自動で足すコンポーネント | CanvasRenderer |
| Transform | RectTransform になります |
属性は 9 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
color | Color | #FFFFFF | |
enabled | bool | true | |
maskable | bool | true | |
material | Material | なし | |
onCullStateChanged | UnityEvent | なし | |
raycastPadding | Vector4 | 0 0 0 0 | |
raycastTarget | bool | true | |
texture | Texture | なし | |
uvRect | Rect | 0 0 1 1 |
RectMask2D
Section titled “RectMask2D”| 型 | UnityEngine.UI.RectMask2D |
| Transform | RectTransform になります |
属性は 2 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true | |
padding | Vector4 | 0 0 0 0 |
ScrollRect
Section titled “ScrollRect”| 型 | UnityEngine.UI.ScrollRect |
| Transform | RectTransform になります |
属性は 17 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
content | RectTransform | なし | 同じ prefab の中の物へのパス |
decelerationRate | float | 0.135 | |
elasticity | float | 0.1 | |
enabled | bool | true | |
horizontal | bool | true | |
horizontalScrollbar | Scrollbar | なし | 同じ prefab の中の物へのパス |
horizontalScrollbarSpacing | float | 0 | |
horizontalScrollbarVisibility | 列挙 | Permanent | Permanent・AutoHide・AutoHideAndExpandViewport |
inertia | bool | true | |
movementType | 列挙 | Elastic | Unrestricted・Elastic・Clamped |
onValueChanged | UnityEvent | なし | |
scrollSensitivity | float | 1 | |
vertical | bool | true | |
verticalScrollbar | Scrollbar | なし | 同じ prefab の中の物へのパス |
verticalScrollbarSpacing | float | 0 | |
verticalScrollbarVisibility | 列挙 | Permanent | Permanent・AutoHide・AutoHideAndExpandViewport |
viewport | RectTransform | なし | 同じ prefab の中の物へのパス |
Scrollbar
Section titled “Scrollbar”| 型 | UnityEngine.UI.Scrollbar |
| Transform | RectTransform になります |
属性は 32 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
animationTriggers.disabledTrigger | string | Disabled | |
animationTriggers.highlightedTrigger | string | Highlighted | |
animationTriggers.normalTrigger | string | Normal | |
animationTriggers.pressedTrigger | string | Pressed | |
animationTriggers.selectedTrigger | string | Selected | |
colors.colorMultiplier | float | 1 | |
colors.disabledColor | Color | #C8C8C880 | |
colors.fadeDuration | float | 0.1 | ≥ 0 |
colors.highlightedColor | Color | #F5F5F5 | |
colors.normalColor | Color | #FFFFFF | |
colors.pressedColor | Color | #C8C8C8 | |
colors.selectedColor | Color | #F5F5F5 | |
direction | 列挙 | LeftToRight | LeftToRight・RightToLeft・BottomToTop・TopToBottom |
enabled | bool | true | |
handleRect | RectTransform | なし | 同じ prefab の中の物へのパス |
interactable | bool | true | |
navigation.mode | 列挙 | Automatic | None・Horizontal・Vertical・Automatic・Explicit |
navigation.selectOnDown | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnLeft | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnRight | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnUp | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.wrapAround | bool | false | |
numberOfSteps | int | 0 | |
onValueChanged | UnityEvent | なし | |
size | float | 0.2 | 0 – 1 |
spriteState.disabledSprite | Sprite | なし | |
spriteState.highlightedSprite | Sprite | なし | |
spriteState.pressedSprite | Sprite | なし | |
spriteState.selectedSprite | Sprite | なし | |
targetGraphic | Graphic | なし | 同じ prefab の中の物へのパス |
transition | 列挙 | ColorTint | None・ColorTint・SpriteSwap・Animation |
value | float | 0 |
Selectable
Section titled “Selectable”| 型 | UnityEngine.UI.Selectable |
属性は 26 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
animationTriggers.disabledTrigger | string | Disabled | |
animationTriggers.highlightedTrigger | string | Highlighted | |
animationTriggers.normalTrigger | string | Normal | |
animationTriggers.pressedTrigger | string | Pressed | |
animationTriggers.selectedTrigger | string | Selected | |
colors.colorMultiplier | float | 1 | |
colors.disabledColor | Color | #C8C8C880 | |
colors.fadeDuration | float | 0.1 | ≥ 0 |
colors.highlightedColor | Color | #F5F5F5 | |
colors.normalColor | Color | #FFFFFF | |
colors.pressedColor | Color | #C8C8C8 | |
colors.selectedColor | Color | #F5F5F5 | |
enabled | bool | true | |
interactable | bool | true | |
navigation.mode | 列挙 | Automatic | None・Horizontal・Vertical・Automatic・Explicit |
navigation.selectOnDown | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnLeft | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnRight | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnUp | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.wrapAround | bool | false | |
spriteState.disabledSprite | Sprite | なし | |
spriteState.highlightedSprite | Sprite | なし | |
spriteState.pressedSprite | Sprite | なし | |
spriteState.selectedSprite | Sprite | なし | |
targetGraphic | Graphic | なし | 同じ prefab の中の物へのパス |
transition | 列挙 | ColorTint | None・ColorTint・SpriteSwap・Animation |
Shadow
Section titled “Shadow”| 型 | UnityEngine.UI.Shadow |
属性は 4 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
effectColor | Color | #00000080 | |
effectDistance | Vector2 | 1 -1 | |
enabled | bool | true | |
useGraphicAlpha | bool | true |
Slider
Section titled “Slider”| 型 | UnityEngine.UI.Slider |
| Transform | RectTransform になります |
属性は 34 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
animationTriggers.disabledTrigger | string | Disabled | |
animationTriggers.highlightedTrigger | string | Highlighted | |
animationTriggers.normalTrigger | string | Normal | |
animationTriggers.pressedTrigger | string | Pressed | |
animationTriggers.selectedTrigger | string | Selected | |
colors.colorMultiplier | float | 1 | |
colors.disabledColor | Color | #C8C8C880 | |
colors.fadeDuration | float | 0.1 | ≥ 0 |
colors.highlightedColor | Color | #F5F5F5 | |
colors.normalColor | Color | #FFFFFF | |
colors.pressedColor | Color | #C8C8C8 | |
colors.selectedColor | Color | #F5F5F5 | |
direction | 列挙 | LeftToRight | LeftToRight・RightToLeft・BottomToTop・TopToBottom |
enabled | bool | true | |
fillRect | RectTransform | なし | 同じ prefab の中の物へのパス |
handleRect | RectTransform | なし | 同じ prefab の中の物へのパス |
interactable | bool | true | |
maxValue | float | 1 | |
minValue | float | 0 | |
navigation.mode | 列挙 | Automatic | None・Horizontal・Vertical・Automatic・Explicit |
navigation.selectOnDown | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnLeft | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnRight | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnUp | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.wrapAround | bool | false | |
onValueChanged | UnityEvent | なし | |
spriteState.disabledSprite | Sprite | なし | |
spriteState.highlightedSprite | Sprite | なし | |
spriteState.pressedSprite | Sprite | なし | |
spriteState.selectedSprite | Sprite | なし | |
targetGraphic | Graphic | なし | 同じ prefab の中の物へのパス |
transition | 列挙 | ColorTint | None・ColorTint・SpriteSwap・Animation |
value | float | 0 | |
wholeNumbers | bool | false |
StandaloneInputModule
Section titled “StandaloneInputModule”| 型 | UnityEngine.EventSystems.StandaloneInputModule |
| 自動で足すコンポーネント | EventSystem |
属性は 9 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
cancelButton | string | Cancel | |
enabled | bool | true | |
forceModuleActive | bool | false | |
horizontalAxis | string | Horizontal | |
inputActionsPerSecond | float | 10 | |
repeatDelay | float | 0.5 | |
sendPointerHoverToParent | bool | true | |
submitButton | string | Submit | |
verticalAxis | string | Vertical |
| 型 | UnityEngine.UI.Text |
| 自動で足すコンポーネント | CanvasRenderer |
| Transform | RectTransform になります |
属性は 20 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
alignByGeometry | bool | false | |
alignment | 列挙 | UpperLeft | UpperLeft・UpperCenter・UpperRight・MiddleLeft・MiddleCenter・MiddleRight・LowerLeft・LowerCenter・LowerRight |
color | Color | #FFFFFF | |
enabled | bool | true | |
font | Font | 既定のアセット | |
fontSize | int | 14 | ≤ 300 |
fontStyle | 列挙 | Normal | Normal・Bold・Italic・BoldAndItalic |
horizontalOverflow | 列挙 | Wrap | Wrap・Overflow |
lineSpacing | float | 1 | |
maskable | bool | true | |
material | Material | なし | |
onCullStateChanged | UnityEvent | なし | |
raycastPadding | Vector4 | 0 0 0 0 | |
raycastTarget | bool | true | |
resizeTextForBestFit | bool | false | |
resizeTextMaxSize | int | 40 | ≤ 300 |
resizeTextMinSize | int | 10 | |
supportRichText | bool | true | |
text | string | 空 | |
verticalOverflow | 列挙 | Truncate | Truncate・Overflow |
Toggle
Section titled “Toggle”| 型 | UnityEngine.UI.Toggle |
| Transform | RectTransform になります |
属性は 31 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
animationTriggers.disabledTrigger | string | Disabled | |
animationTriggers.highlightedTrigger | string | Highlighted | |
animationTriggers.normalTrigger | string | Normal | |
animationTriggers.pressedTrigger | string | Pressed | |
animationTriggers.selectedTrigger | string | Selected | |
colors.colorMultiplier | float | 1 | |
colors.disabledColor | Color | #C8C8C880 | |
colors.fadeDuration | float | 0.1 | ≥ 0 |
colors.highlightedColor | Color | #F5F5F5 | |
colors.normalColor | Color | #FFFFFF | |
colors.pressedColor | Color | #C8C8C8 | |
colors.selectedColor | Color | #F5F5F5 | |
enabled | bool | true | |
graphic | Graphic | なし | 同じ prefab の中の物へのパス |
group | ToggleGroup | なし | 同じ prefab の中の物へのパス |
interactable | bool | true | |
isOn | bool | false | |
navigation.mode | 列挙 | Automatic | None・Horizontal・Vertical・Automatic・Explicit |
navigation.selectOnDown | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnLeft | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnRight | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.selectOnUp | Selectable | なし | 同じ prefab の中の物へのパス |
navigation.wrapAround | bool | false | |
onValueChanged | UnityEvent | なし | |
spriteState.disabledSprite | Sprite | なし | |
spriteState.highlightedSprite | Sprite | なし | |
spriteState.pressedSprite | Sprite | なし | |
spriteState.selectedSprite | Sprite | なし | |
targetGraphic | Graphic | なし | 同じ prefab の中の物へのパス |
toggleTransition | 列挙 | Fade | None・Fade |
transition | 列挙 | ColorTint | None・ColorTint・SpriteSwap・Animation |
ToggleGroup
Section titled “ToggleGroup”| 型 | UnityEngine.UI.ToggleGroup |
属性は 2 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
allowSwitchOff | bool | false | |
enabled | bool | true |
TouchInputModule
Section titled “TouchInputModule”| 型 | UnityEngine.EventSystems.TouchInputModule |
| 自動で足すコンポーネント | EventSystem |
属性は 3 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
enabled | bool | true | |
forceModuleActive | bool | false | |
sendPointerHoverToParent | bool | true |
VerticalLayoutGroup
Section titled “VerticalLayoutGroup”| 型 | UnityEngine.UI.VerticalLayoutGroup |
| Transform | RectTransform になります |
属性は 14 個です。
| 属性 | 型 | 既定値 | 選べる値 |
|---|---|---|---|
childAlignment | 列挙 | UpperLeft | UpperLeft・UpperCenter・UpperRight・MiddleLeft・MiddleCenter・MiddleRight・LowerLeft・LowerCenter・LowerRight |
childControlHeight | bool | false | |
childControlWidth | bool | false | |
childForceExpandHeight | bool | true | |
childForceExpandWidth | bool | true | |
childScaleHeight | bool | false | |
childScaleWidth | bool | false | |
enabled | bool | true | |
padding.bottom | int | 0 | |
padding.left | int | 0 | |
padding.right | int | 0 | |
padding.top | int | 0 | |
reverseArrangement | bool | false | |
spacing | float | 0 |