- Open the LitKit-Main Scene
- Go to Canvases > PaintingCanvas > Windows > PaintingWindow > Main > InfoPanel
- Look for either "Backgrounds" or "Objects" or "Shapes" game object, depending on what you're trying to add.
- Go to Viewport > Content
- Drag the ObjectItem Prefab and drop it inside the Content game object. The ObjectItem Prefab is in Assets/Prefabs/Content
- Fill in the necessary sprite images.
- Important - Don't check the checkbox Is Set since Objects / Backgrounds / Shapes are not Sets
- Locate the ObjectManager component in the Main game object.
- Add and reference the game objects you previously setup on steps 5-7.
- For Objects, add it to Actor Items Details
- For Backgrounds, add it to Background Items Details
- For Shapes, add it to Shapes Items Details
For sets, it's a bit different. You need to create some prefabs so you can position the individual images inside that set.
- Locate the Assets/Prefabs/Content/Sets/+SetItem.prefab
- Drag this to the Hierarchy Canvases > PaintingCanvas > Windows > PaintingWindow > Main > InfoPanel > Sets > Viewport > Content
- Fill in the needed information.
- Important - Check the Is Set checkbox
- Create a SetPattern Prefab in Assets/Prefabs/Content/Sets/ (you may check the existing SetPatterns and mirror how it's set up)
- SetItem’s script needs to reference the SetPattern, so you need to drag it into the Set Pattern field.
- Locate the ObjectManager component in the Main game object.
- Add the SetItem into the Set Items Details