<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />

Navigation

</aside>

Home Page

Levels Creation

Economy

Game Objects

How to add a new game object

  1. Create an empty object on the scene (Game Object → Create Empty). Rename it and add MatchableObjectBehavior and ShakeBehavior components to it.

    Untitled

  2. Add a 3D model to a child object, change its layer to MatchableObject, and add a Sphere Collider component**.**

    Untitled

    Untitled

  3. Select the parent object and link graphics and shake behavior.

    Untitled

  4. Drag’n’drop object to the Project window to save the object as a prefab.

  5. Select Level Database (Assets\Project Data\Content\LevelSystem) and add a new element to the Matchable Objects array. Link created prefab to Prefab variable and change the Available From Level variable (starts from what level this object will appear in the game)

    Untitled

  6. Done. Now the created object is available in the game.

    Untitled