Use this page when you know what you want to build, but you are not sure which built-in components belong on the entity.
Start with:
RigidbodyComponent with MotionType = DynamicCapsuleColliderComponentCharacterControllerComponentAdd SimplePlayerInputComponent if you want the built-in input-driven movement setup.
Important:
Use this for:
See Physics for the full movement workflow.
Start with:
BoxColliderComponent, SphereColliderComponent, or CapsuleColliderComponentIsTrigger = trueYou usually do not need a rigidbody for a simple trigger volume.
Use this for:
Start with:
MeshRendererComponentAdd:
LightComponent elsewhere in the scene so the model is visibleUse this for:
Start with:
MeshRendererComponentSkinnedMeshAnimatorComponentOptionally add:
InverseKinematicsComponent for IK solversUse this for:
See Rendering & Post-Processing for the setup flow.
Start with:
CameraComponentSet IsMain = true on the camera you want the scene to render from.
Optionally add:
PostProcessStackComponent for bloom, fog, SSAO, palette, or dither effectsStart with:
LightComponentChoose the light type based on the job:
Directional for sunlight-style lightingPoint for local lightsSkylight for ambient base illuminationStart with:
AudioSourceComponentSet:
Spatialized = false for UI or global 2D soundsSpatialized = true for in-world 3D soundsAdd an AudioListenerComponent to the listener entity if you want an explicit 3D audio listener.
See Audio for usage patterns.
Use a prefab instead of assembling the same entity tree repeatedly.
Typical prefab contents:
See Prefabs & Entity References.
| Goal | Components |
|---|---|
| Move a character | RigidbodyComponent, CapsuleColliderComponent, CharacterControllerComponent (CapsuleColliderComponent must be the first enabled collider) |
| Detect overlaps | Any collider with IsTrigger = true |
| Show a model | MeshRendererComponent |
| Play imported animation | MeshRendererComponent, SkinnedMeshAnimatorComponent |
| Render the scene | CameraComponent |
| Add lighting | LightComponent |
| Post-processing | CameraComponent, PostProcessStackComponent |
| Persistent sound source | AudioSourceComponent |
| Explicit 3D listener | AudioListenerComponent |