Skip to main content
Version: 2025.4

How to use the placeholders

Assign a behavior to an object

The steps to attach a behavior to an object are as follows:

  1. Drag an existing asset or right click on Unity's hierarchy to create a new GameObject

    CKComponent

  2. Through the object's inspector, add a Box Collider, with the "Is Trigger" checkbox selected to enable interaction with the user

    CKComponent

  3. Drag and drop the desired script placeholdert from the Reflectis CreatorKit folder. . Alternatively, you can select "Add component" in the inspector and type the name of the script you want to associate

    Warning

    Please note that it's not recommended to attach two different script placeholders into the same object. Distributing the scripts between parent and children to obtain more behaviors for the same object is allowed, but requires testing and a good handling of the different components.

    CKComponent

  4. Edit the public parameters of the script according to your preferences, be careful to reference the correct components in the correct slots:

    CKComponent

  5. Add the others components needed to initiate the desired behavior of the object (empty objects, colliders, audio sources, or others depending on the chosen script). These depends on how the selected script placeholders work.