⚙️
RuntimeMapMaker 3D
  • Introduction
  • Document
    • 1️⃣Overview
    • 2️⃣Simple start up
    • 3️⃣Modify UnitBlock
    • 4️⃣Convert prefab to UnitBlock
  • Play
    • Play on runtime
  • Other
    • GrilleGolf
Powered by GitBook
On this page
  1. Document

Modify UnitBlock

PreviousSimple start upNextConvert prefab to UnitBlock

Last updated 2 years ago

Modify UnitBlock:

  • Before modifying, make sure you have created UnitBlockTreeAsset.(You can create it by right click in the project panel "Create/RMM3D/TreeAssets/UnitBlock Tree Asset")

  • At "Modifty unitBlock" tab. You can see the UnitBlockTreeAsset you created, And drag and drop your converted unitBlock prefab(converted from sourcePrefab) to the treeview box on the left.

  • In order for your unit blocks to be selected in the blocks selection panel, you need to create a preview image for them.

  • RMM3D provides you with a simple solution, you can click the "Generate preview textures" button on the "Modify unitBlock" Tab to generate simple previews. By default, these generated images will be at ("Assets/RuntimeMapMaker3D/ArtWorks/Textures/UnitBlocksIcon/"), you can also change the output directory in the settings tab. Of course, it should be noted that these preview images also need to be packaged into assetbundle like simple start up does.

  • After generated preview images, We need to generate data model for unitblocks and bind them to RMM3D. Click the following 3 buttons "Add to MakerSceneSetting", "Create UnitBlockModels", "Add unitBlock facade component".

  • Build Asset bundle, at "modify unitBlock" tab.

  • Now, you can start the journey of RMM3D.

3️⃣