For the complete documentation index, see llms.txt. This page is also available as Markdown.

Inspector

The inspector pane allows you to make changes to any entity in your scene like changing its size or layer and adding components

At the top of the inspector, you have basic properties about the entity like its position and scale.

Entity transform and components in the inspector

Below the entity properties are all of the components you have currently added to that entity.

Each component can provide "fields" for you to edit. For example, Interactable components allow you to change their Text or Radius fields.

Your own custom components made with scripts can expose fields to the inspector as well. For example, you could make a tycoon purchase interactable with a field to change its price in the editor.

Now when you add the Tycoon_Unlock_Button component to any entity, you can set a price for that entity to unlock.

Runtime-only fields such as is_unlocked are not shown unless they also use @ao_serialize.

Last updated