Welcome to GEMENTAR TOUR PUO V2 Development Documentation. Enjoy your stay!

This is an old revision of the document!


1 - Pick Building GameObject

You can use any game object, import it from OBJ, FBX or create it your own! I suggest your create it using UModeler!.

2 - Create new ScriptableObject

⚠ This scriptable object is used for determine the information

Go to Folder (Assets/3 - Atan/Scriptable Object/Bangunan) Create new scriptable object Create > Data Bangunan.

Now you can fill up Scriptable Object Information! ⚠ Make sure to fill up x and y axis base on your building center pivot point.

Side Info!Bangunan Class Script

 public class Bangunan : ScriptableObject
{
    [BoxGroup("Informasi Bangunan")]
    public string namaBangunan;
    [BoxGroup("Informasi Bangunan")]
    [TextArea]
    public string namaPenuhBangunan;
    [BoxGroup("Informasi Bangunan")]
    [TextArea(15, 50)]
    public string maklumatPertama;
    [BoxGroup("Informasi Bangunan")]
    [TextArea(15, 50)]
    public string maklumatKedua;
 
    public float xLocation;
    public float zLocation;
}
 

3 - Apply building interact script

Drag BuildingInteract Scrip into your gameObject

  • Setup Input Field ( For Search )
  • Setup Holo Material

QR Code
QR Code wiki:how_to_create_new_buildings (generated for current page)
Hello World!
DokuWiki with monobook... rules!