Skip to content

Adding New Assets

JohnathanGlasgow edited this page May 28, 2024 · 3 revisions

Adding Tiles

  1. Drag the DefaultTile prefab into the scene and zero out the world position.
Screenshot 2024-05-28 at 2 17 12 PM
  1. Add a model to the GameObject child of DefaultTile prefab and scale/position as wanted. The model should be the second child of 'GameObject'.
Screenshot 2024-05-28 at 2 20 14 PM
  1. Rename the parent object and drag the tile with the model into the prefabs folder.
Screenshot 2024-05-28 at 2 21 11 PM
  1. In Assets/ScriptableObjects/Tiles, right click to create a new Tile scriptable object from the context menu.
Screenshot 2024-05-28 at 2 24 10 PM
  1. Drag the DefaultTile prefab into the Tile scriptable object and select the settings for the tile in the Tile scriptable object.
Screenshot 2024-05-28 at 2 25 20 PM
  1. In the inspector, add the Tile scriptable object to the TileManager's DifficultyProfile. Add to 'Tile Probabilities' for individually occurring tiles or 'Row Settings' for tiles that occur in rows.
Screenshot 2024-05-28 at 2 34 55 PM

Adding Clothing Modules

  1. Right click in Scriptable Objects/Clothing and select Module data.
Screenshot 2024-05-28 at 2 38 21 PM
  1. Configure the Module Data in the inspector
Screenshot 2024-05-28 at 2 41 09 PM
  1. Add the new Module Data to the list in Module Manager
Screenshot 2024-05-28 at 2 42 29 PM

Clone this wiki locally