1. How to get the number from point A to B persistent?
  2. After build the points, we want to add a text in the middle of the points. How/where can we implement the functionality where user able to see the area they build.

I wanna make after create a floormap then do tagging of the area. thankyou

    10 days later

    name Hi, sorry for the late reply.

    There are already labels between points in drawing mode, is that what you are looking for?
    What do you mean by persistent?

    Image description

      This will be my question for now,

      i wanna add a text category of the room, may i know what is the best way to integrate with exoa if i want to add and get the category of the area? thank you

        I have another question aside from my initial question.

        is it possible to do tagging on the furniture item? because i need a tagging for furniture to put the furniture in respective category area

          name each area you draw has a name input, If you want to add a category like a dropdown, you will have to edit multiple files.

          in DataModel.cs add a string category variable or an enum:

          Image description

          Then in UIBaseItem.cs add a getter/setter to access your dropdown or inputfield, example with the Name input:
          Image description
          Edit the GetData() and SetData() methods to add your new category variable

          Open the UIRoomItem_Prefab Variant prefab, add your dropdown or input field and link it in the script UIRoomItem

          Image description

          You will have to populate your dropdown with values by code as well.
          I probably forgot steps but this is the main process.

            for tagging furniture in home designer, you will have to edit a few files too
            start by editing the json file called interior_modules that contains all your models listed and add a tag variable to every model.
            Add the same variable in the ModuleDataModel.cs file

            Image description

            Then you will need to edit more scripts depending on what you want to do with that tag. Like the InfoPopup.cs to display the tag in the module popup for example

            Hope that helps

              For the tagging area, I wanna put text in the middle of area to tell this area is Living Room. So, when we choose category living room, then we create an area, auto spawn text name of the category room which is Living Room. Similar like this picture https://imgur.com/kH7ue9R

                I suggest to edit the RoomController_Prefab prefab to add your canvas and text, then you will have to manage his positioning inside a script of yours or inside RoomController.cs

                  I got it right! Thank you for replying

                    Write a Reply...