The roof is visible in Camera and Scene View, but not in Game Scene.

    I can't add image. Culling Mask is Everything, Clipping Planes Near is 1 when running and Far is 1000.

      Kim Hi! CameraNoFog just disable the fog when a screenshot is taken, so it should not have any impact on the camera layers or culling.

      Could you share a video showing the scene view and game view at runtime?
      thanks!

      • Kim replied to this.

        Anthony
        hello
        I misused that script. it's solved
        I have a question for you. Which script executes the Json file in the EmbeddedFloorMaps folder?
        May I know that function too? Thank you!

        I want to know where to load the json file in the EmbeddedFloorMaps folder

          Kim Look for "EMBEDDED_FLOORMAP_FOLDER" in the code. Basically floormaps are loaded from both the Resources/EmbeddedFloorMaps and the external folder on your computer.

            13 days later

            HI Anthony Thank You

            First Question
            I want the alpha value of ghostObject to be realobject.
            I looked it up, and ghostobject (instance) is included in the mesh, but I want to put a realobject mesh instead of this. And I want to move the object while the mouse is pressed (drag state), not when the reposition button is pressed.
            And I want to save the first creation date and the last modification date when saving the interior mode. What should I do?

              5 days later

              Kim Hi!

              "I want the alpha value of ghostObject to be realobject."
              You mean, you want no transparency when dragging an object, is that right? Open OutlineHandler.cs and look for the Ghost() method. Comment out all the lines there.

              "ghostobject (instance) is included in the mesh, but I want to put a realobject mesh instead of this"
              The ghost object is the real object instance, but with a different material and alpha value.

              "I want to move the object while the mouse is pressed (drag state), not when the reposition button is pressed."
              Look for the method called "OnClickMove()" inside the InteriorDesigner class, this is what is called when the Move button is clicked.
              Then look for "InfoPopup.Instance.Show" around line 393, this is calling the popup containing the buttons. You could try to remove this line, and call "OnClickMove()" instead, or call your own drag and drop logic here.

              "I want to save the first creation date and the last modification date when saving the interior mode. What should I do?"
              Open InteriorSerializer.cs and look for SerializeScene() this is where you can add your own variables
              currentInteriorFile.creationDate=...
              currentInteriorFile.lastModificationDate = ...
              Of course add the variables in the data model class as well:
              Image description

              • Kim replied to this.

                Anthony

                Oh Anthony Thank you!

                If you click an image on the bottomMenu and place it on the floor, can the state also become a realobject rather than a ghost??

                  Kim yes the same Gost() function is called, so commenting out that code should work for both.

                  • Kim replied to this.

                    Anthony
                    When I run it in the HomeDesigner_PlayMode scene, I want to save the screenshot first, but I don't want to save it. where is the code part??

                      Write a Reply...