Skip to main content

Components reference

Every field of the components, as shown in the Inspector, with the default a new component gets. The guides linked under each heading explain them with screenshots.

🧊 Shape & look​

Guide: Shapes & materials, 3D models

FieldValuesDefault
ShapeCube, Sphere, Plane, Capsule, Cylinder, Cone, Torus, 3D model (file)Cube
Modela model asset (3D model shape only)β€”
Faces forwardon / off (models)on for new models
Animationa clip of the model, or NoneNone
Play on starton / offon
Animation speednumber1
Colorcolor#8ab4f8
Texturean image assetnone
TilingU, V1, 1
StyleMatte (fast), Realistic, Cartoon, Unlit (flat color)Matte
Roughness / Metalness0–1 (Realistic only)0.8 / 0
Glow colorcolorblack (none)
Glow intensity0–20 (shown once Glow color isn't black)1
Global IlluminationBaked, None (shown once Glow color isn't black)Baked
Opacity0–11
Flat shadingon / offoff
Casts shadow / Receives shadowon / offon / on

πŸŽ₯ Camera​

Guide: Cameras & lights

FieldValuesDefault
Main cameraon / offon (if no other main camera)
ProjectionPerspective (3D), Orthographic (flat)Perspective
Field of view20–120Β°60
View sizemeters (orthographic)10
Near / Farmeters0.1 / 500

πŸ’‘ Light​

Guide: Cameras & lights

FieldValuesDefault
TypeSun (directional), Lamp (point), Spotlight, Sky (hemisphere)Sun
Color (Sky color)colorwhite
Ground colorcolor (Sky only)#444444
Brightness0–51.5
Rangemeters, 0 = unlimited (Lamp, Spotlight)0
Cone angle1–89Β° (Spotlight)45
Casts shadowson / off (not Sky)on

πŸ₯… Collider​

Guide: Physics

FieldValuesDefault
ShapeAutomatic, Box, Sphere, Capsule, Convex hull, Exact meshAutomatic
SizeX, Y, Z (Box)1, 1, 1
Radiusmeters (Sphere, Capsule)0.5
Heightmeters (Capsule)2
OffsetX, Y, Z (not Automatic)0, 0, 0
Trigger onlyon / offoff

βš™οΈ Physics body​

Guide: Physics

FieldValuesDefault
TypeDynamic, Static, KinematicDynamic
Massnumber (Dynamic)1
Friction0–10.4
Bounciness0–10.1
Gravity scalenumber (Dynamic)1
Don’t tip overon / off (Dynamic)off
Freeze X / Y / Zon / off each (Dynamic)off
Air drag0–1 (Dynamic)0.05
Spin drag0–1 (Dynamic)0.1

πŸ”Š Sound​

Guide: Sound

FieldValuesDefault
Sound filea sound assetnone
Play on starton / offoff
Loopon / offoff
Volume0–11
3D soundon / offoff

πŸ–ΌοΈ Canvas​

Guide: Game UI

FieldValuesDefault
Render modeScreen Space - Overlay, World SpaceOverlay
Sort orderβˆ’100–1000
UI scale mode (Overlay)Scale with screen size, Constant pixel sizeScale with screen size
Reference resolution (Overlay)W, H in px740 Γ— 360 (landscape), 360 Γ— 740 (portrait)
Screen match mode (Overlay)Expand, Shrink, Match width or heightExpand
Match (Overlay)0–10.5
Scale factor (Overlay, constant)0.1–101
Face the camera (World)on / offon
Size (World)W, H in px200 Γ— 60
Pixels per metre (World, standing)1–1000100
Height offset (World, facing the camera)βˆ’20–20 m0.4

πŸ–ΌοΈ UI element​

Guide: Game UI

FieldValuesDefault
TypeText, Button, Image, Slider, PanelText
Text / CaptiontextText
Anchorsmin / max pair (presets, or stretch)middle, middle
Pos X / Pos Ypx from the anchor, Y up0, 0
Width / Heightpx (or Left / Right / Top / Bottom when stretched)160 Γ— 30
PivotX, Y from 0 to 10.5, 0.5
Rotationdegrees, counter-clockwise0
ScaleX, Y1, 1
Width / Height fits contenton / offoff
Sort orderwhole number, higher on top0
Raycast targeton / offon
Background imagean image assetnone
Image typeSimple, Sliced (9-slice), Tiled, FilledSimple
Preserve aspecton / offoff
Border (Sliced, Tiled)px0
Fill method / Fill amount / Clockwise (Filled)Horizontal, Vertical, Radial 360 / 0–1 / on, offHorizontal / 1 / on
Backgroundcolor#1e2128
Background opacity0–10
Corner radius0–500 px10
Border width / color0–40 px / color0 / white
Opacity0–11
Font size6–20022
Bold / Italicon / offon / off
Text colorcolorwhite
Align / Vertical alignLeft, Center, Right / Top, Middle, BottomCenter / Middle
Wrapon / offon
Line spacing0.5–41
Value / Min / Max (Slider)numbers50 / 0 / 100
Whole numbers (Slider)on / offoff
Direction (Slider)Left to right, Right to left, Bottom to top, Top to bottomLeft to right
Fill color (Slider)color#3ecf8e
Handle / Handle color (Slider)on / off, coloroff, white
Interactableon / offon
TransitionNone, Color tint, Sprite swapColor tint
Color multiplier / Fade duration0–5 / 0–2 s1 / 0.1
Highlighted / Pressed / Disabled image (Sprite swap)image assetsnone
MaskNone, Rectangle, Image shapeNone
Blend modeNormal, Additive, Multiply, Screen, Overlay…Normal
EffectsBlur, Frosted glass, Brightness, Contrast, Saturation, Hue shift, Grayscale, Invert, Drop shadownone
Layout groupNone, Horizontal, Vertical, Grid (padding, spacing, alignment, cell size, child control)None

The Add menu’s UI items change some defaults (e.g. a Button is 180 Γ— 56, centered, blue).

πŸ“œ Code script​

Guide: Code scripts

FieldValuesDefault
Scriptan object script, New script…, or NoneNone
Fieldsone per export let in the script (export let speed = 2), set per objectnone

✨ Particles​

Guide: Particles

FieldValuesDefault
PresetSparkles, Fire, Smoke, Explosion, Dust puff, Rain, Confetti, Magicβ€”
Per secondnumber (0 = bursts only)20
Burstwhole number0
Play on starton / offon
Loopon / offon
Duration (s)seconds (when not looping)2
ShapeFountain (cone), Ball (sphere), Point, Box (area)Fountain
Radius / Area sizemeters0.1
Spread0–180Β° (cone)25
Lifetime (s)min, max0.8, 1.4
Speedmin, max1.5, 3
Gravitymultiplier (negative rises)0.3
Air dragnumber0.5
Leave behindon / offon
Size over lifetimecurve0.25 β†’ 0.05
Color over lifetimegradientyellow β†’ orange, fading out
Glowon / offon
Texturean image asset (none = soft dot)none
Max particles1 – engine limit200

🧱 Tilemap​

Guide: Tilemaps

FieldValuesDefault
Tile sheeta sprite whose frames are the tilesfirst sprite sheet
Tile size (m)meters per tile1
Colorcolorwhite
Opacity0–11
Sort orderwhole number (higher is in front)0
EdgesSmooth, Pixel (hard)Pixel (hard)
Collider depth (m)meters (front to back)1
Solid tileswhich tiles block (set with the palette button)all