Skip to main content

Components reference

Every field of the ten 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)
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
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

πŸ”€ Text​

Guide: Game UI

FieldValuesDefault
TexttextText
Size6–200 px24
Colorcolorwhite
Above object (3D)on / offoff
Screen position9 anchorstop-left
Offset (px)X, Y16, 16

πŸ–ΌοΈ UI element​

Guide: Game UI

FieldValuesDefault
TypeLabel, Button, Image, Panel / screen, Progress barLabel
Text / Captiontext ({value}, {max}, {percent} in bars)Label
Value / Maximumnumbers (Progress bar)50 / 100
Bar colorcolor (Progress bar)#3ecf8e
Image / Background imagean image assetnone
Fill parenton / offoff
Above object (3D)on / offoff
Position9 anchorstop-left
Offset (px)X, Y16, 16
Size (px)W, H (0 = fit content)0, 0
Font size6–20022
Boldon / offon
Text colorcolorwhite
AlignLeft, Center, RightCenter
Backgroundcolor#1e2128
Background opacity0–10
Corner radius0–500 px10
Border width / color0–40 px / color0 / white
Opacity0–11
Layerwhole number, higher on top0

The Add menu’s UI presets 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
Propertiesnamed number / text / yes-no values, read as props.namenone

✨ 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