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
| Field | Values | Default |
|---|---|---|
| Shape | Cube, Sphere, Plane, Capsule, Cylinder, Cone, Torus, 3D model (file) | Cube |
| Model | a model asset (3D model shape only) | β |
| Faces forward | on / off (models) | on for new models |
| Animation | a clip of the model, or None | None |
| Play on start | on / off | on |
| Animation speed | number | 1 |
| Color | color | #8ab4f8 |
| Texture | an image asset | none |
| Tiling | U, V | 1, 1 |
| Style | Matte (fast), Realistic, Cartoon, Unlit (flat color) | Matte |
| Roughness / Metalness | 0β1 (Realistic only) | 0.8 / 0 |
| Glow color | color | black (none) |
| Glow intensity | 0β20 (shown once Glow color isn't black) | 1 |
| Global Illumination | Baked, None (shown once Glow color isn't black) | Baked |
| Opacity | 0β1 | 1 |
| Flat shading | on / off | off |
| Casts shadow / Receives shadow | on / off | on / on |
π₯ Cameraβ
Guide: Cameras & lights
| Field | Values | Default |
|---|---|---|
| Main camera | on / off | on (if no other main camera) |
| Projection | Perspective (3D), Orthographic (flat) | Perspective |
| Field of view | 20β120Β° | 60 |
| View size | meters (orthographic) | 10 |
| Near / Far | meters | 0.1 / 500 |
π‘ Lightβ
Guide: Cameras & lights
| Field | Values | Default |
|---|---|---|
| Type | Sun (directional), Lamp (point), Spotlight, Sky (hemisphere) | Sun |
| Color (Sky color) | color | white |
| Ground color | color (Sky only) | #444444 |
| Brightness | 0β5 | 1.5 |
| Range | meters, 0 = unlimited (Lamp, Spotlight) | 0 |
| Cone angle | 1β89Β° (Spotlight) | 45 |
| Casts shadows | on / off (not Sky) | on |
π₯ Colliderβ
Guide: Physics
| Field | Values | Default |
|---|---|---|
| Shape | Automatic, Box, Sphere, Capsule, Convex hull, Exact mesh | Automatic |
| Size | X, Y, Z (Box) | 1, 1, 1 |
| Radius | meters (Sphere, Capsule) | 0.5 |
| Height | meters (Capsule) | 2 |
| Offset | X, Y, Z (not Automatic) | 0, 0, 0 |
| Trigger only | on / off | off |
βοΈ Physics bodyβ
Guide: Physics
| Field | Values | Default |
|---|---|---|
| Type | Dynamic, Static, Kinematic | Dynamic |
| Mass | number (Dynamic) | 1 |
| Friction | 0β1 | 0.4 |
| Bounciness | 0β1 | 0.1 |
| Gravity scale | number (Dynamic) | 1 |
| Donβt tip over | on / off (Dynamic) | off |
| Freeze X / Y / Z | on / off each (Dynamic) | off |
| Air drag | 0β1 (Dynamic) | 0.05 |
| Spin drag | 0β1 (Dynamic) | 0.1 |
π Soundβ
Guide: Sound
| Field | Values | Default |
|---|---|---|
| Sound file | a sound asset | none |
| Play on start | on / off | off |
| Loop | on / off | off |
| Volume | 0β1 | 1 |
| 3D sound | on / off | off |
πΌοΈ Canvasβ
Guide: Game UI
| Field | Values | Default |
|---|---|---|
| Render mode | Screen Space - Overlay, World Space | Overlay |
| Sort order | β100β100 | 0 |
| UI scale mode (Overlay) | Scale with screen size, Constant pixel size | Scale with screen size |
| Reference resolution (Overlay) | W, H in px | 740 Γ 360 (landscape), 360 Γ 740 (portrait) |
| Screen match mode (Overlay) | Expand, Shrink, Match width or height | Expand |
| Match (Overlay) | 0β1 | 0.5 |
| Scale factor (Overlay, constant) | 0.1β10 | 1 |
| Face the camera (World) | on / off | on |
| Size (World) | W, H in px | 200 Γ 60 |
| Pixels per metre (World, standing) | 1β1000 | 100 |
| Height offset (World, facing the camera) | β20β20 m | 0.4 |
πΌοΈ UI elementβ
Guide: Game UI
| Field | Values | Default |
|---|---|---|
| Type | Text, Button, Image, Slider, Panel | Text |
| Text / Caption | text | Text |
| Anchors | min / max pair (presets, or stretch) | middle, middle |
| Pos X / Pos Y | px from the anchor, Y up | 0, 0 |
| Width / Height | px (or Left / Right / Top / Bottom when stretched) | 160 Γ 30 |
| Pivot | X, Y from 0 to 1 | 0.5, 0.5 |
| Rotation | degrees, counter-clockwise | 0 |
| Scale | X, Y | 1, 1 |
| Width / Height fits content | on / off | off |
| Sort order | whole number, higher on top | 0 |
| Raycast target | on / off | on |
| Background image | an image asset | none |
| Image type | Simple, Sliced (9-slice), Tiled, Filled | Simple |
| Preserve aspect | on / off | off |
| Border (Sliced, Tiled) | px | 0 |
| Fill method / Fill amount / Clockwise (Filled) | Horizontal, Vertical, Radial 360 / 0β1 / on, off | Horizontal / 1 / on |
| Background | color | #1e2128 |
| Background opacity | 0β1 | 0 |
| Corner radius | 0β500 px | 10 |
| Border width / color | 0β40 px / color | 0 / white |
| Opacity | 0β1 | 1 |
| Font size | 6β200 | 22 |
| Bold / Italic | on / off | on / off |
| Text color | color | white |
| Align / Vertical align | Left, Center, Right / Top, Middle, Bottom | Center / Middle |
| Wrap | on / off | on |
| Line spacing | 0.5β4 | 1 |
| Value / Min / Max (Slider) | numbers | 50 / 0 / 100 |
| Whole numbers (Slider) | on / off | off |
| Direction (Slider) | Left to right, Right to left, Bottom to top, Top to bottom | Left to right |
| Fill color (Slider) | color | #3ecf8e |
| Handle / Handle color (Slider) | on / off, color | off, white |
| Interactable | on / off | on |
| Transition | None, Color tint, Sprite swap | Color tint |
| Color multiplier / Fade duration | 0β5 / 0β2 s | 1 / 0.1 |
| Highlighted / Pressed / Disabled image (Sprite swap) | image assets | none |
| Mask | None, Rectangle, Image shape | None |
| Blend mode | Normal, Additive, Multiply, Screen, Overlay⦠| Normal |
| Effects | Blur, Frosted glass, Brightness, Contrast, Saturation, Hue shift, Grayscale, Invert, Drop shadow | none |
| Layout group | None, 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
| Field | Values | Default |
|---|---|---|
| Script | an object script, New scriptβ¦, or None | None |
| Fields | one per export let in the script (export let speed = 2), set per object | none |
β¨ Particlesβ
Guide: Particles
| Field | Values | Default |
|---|---|---|
| Preset | Sparkles, Fire, Smoke, Explosion, Dust puff, Rain, Confetti, Magic | β |
| Per second | number (0 = bursts only) | 20 |
| Burst | whole number | 0 |
| Play on start | on / off | on |
| Loop | on / off | on |
| Duration (s) | seconds (when not looping) | 2 |
| Shape | Fountain (cone), Ball (sphere), Point, Box (area) | Fountain |
| Radius / Area size | meters | 0.1 |
| Spread | 0β180Β° (cone) | 25 |
| Lifetime (s) | min, max | 0.8, 1.4 |
| Speed | min, max | 1.5, 3 |
| Gravity | multiplier (negative rises) | 0.3 |
| Air drag | number | 0.5 |
| Leave behind | on / off | on |
| Size over lifetime | curve | 0.25 β 0.05 |
| Color over lifetime | gradient | yellow β orange, fading out |
| Glow | on / off | on |
| Texture | an image asset (none = soft dot) | none |
| Max particles | 1 β engine limit | 200 |
π§± Tilemapβ
Guide: Tilemaps
| Field | Values | Default |
|---|---|---|
| Tile sheet | a sprite whose frames are the tiles | first sprite sheet |
| Tile size (m) | meters per tile | 1 |
| Color | color | white |
| Opacity | 0β1 | 1 |
| Sort order | whole number (higher is in front) | 0 |
| Edges | Smooth, Pixel (hard) | Pixel (hard) |
| Collider depth (m) | meters (front to back) | 1 |
| Solid tiles | which tiles block (set with the palette button) | all |