World

Scene Components

The Basis components you place in a world, what each one does, and where to read more.

These components are the building blocks of a Basis world. None of them need code. Items marked (client builds) are not on the default allowlist for uploaded content; see Allowed Components.

Required

ComponentWhat it does
Basis SceneMarks the scene as a Basis world. Sets the Spawn Point, the Respawn Height players fall back from, the audio mixer group and the main camera. One per world. See Building.

Interaction

ComponentWhat it does
Basis Interactable ShimMakes an object pressable from a script: ButtonDown and ButtonUp, with hover and press colours.
Basis Pickup InteractableLets players grab, hold and use an object. Raises OnPickupUse when the trigger is pressed while held.
Basis Interactable ButtonA ready made pressable button (com.basis.examples, ExampleInteractableButton prefab).
Basis SeatLets players sit. Rotation limits, highlight mode, leg and hip control, leg poses, hand and foot targets, a script-set offset, and scripting through TrySeatLocalPlayer, EjectLocalPlayer and IsAvailable.
Basis Avatar PedestalShows an avatar and lets players switch to it. Worlds only.
Basis Runtime Loader (client builds)Spawns props from a load config, for example from a button. See Scene Props.

Networking

ComponentWhat it does
Basis Pickup Sync NetworkingSyncs a pickup's pose and holder.
Basis Synced TransformSyncs a moving object. Basis Synced Rigidbody (client builds) adds velocities.
Basis Synced Parameters (client builds)Sync named values (floats, ints, bools, colours).
Basis Seat SyncSyncs who is sitting in a seat.
Basis Networked VehicleSynced drivable vehicles, built from vehicle body, wheel, thruster and pilot seat parts.

See Network Components.

Media and rendering

ComponentWhat it does
Basis Media PlayerSynced video and stream playback. See Media Player.
Basis SDK MirrorA mirror. Set the render texture size, far clip and whether post processing renders in the reflection. Mirrors render the scene again. Keep them small and off by default.
TextMesh ProText on signs and UI. Supported in worlds and in Cilbox scripts.
CanvasWorld space UI that works with the Basis pointer. See UI Canvas.

Player and platform

ComponentWhat it does
Basis Locomotion Zone (client builds)Changes jump height, walk and run speed, gravity or movement mode while the local player is inside its trigger.
Basis Platform SwitchEnables or disables objects and components per platform (VR, desktop, mobile) from a list of rules.

Scripting

ComponentWhat it does
Cilbox Scene Basis / Cilbox Prop BasisThe sandbox your world's or prop's [Cilboxable] scripts run in. See Scripting.
Basis OSCPublish and subscribe to OSC messages. See OSC.
Basis Action TriggerForwards UI pointer events (enter, exit, click, drag) to a Cilbox script.

Every component is documented in the Unity editor: select it and use the documentation button in its inspector, or open Basis > Creator Guide for this guide offline.

Edit on GitHub

Last updated on