- Home /
How to move two same Objects at the same place in different scenes?
Hi everyone, I have a cube in a scene and I have the same cube in a different scene. Now I want that if the cube in the first scene gets moved the other cube goes to the same position.
Hello there, Banana13. I believe that your question is not fitting for Unity Answers. Here you present a specific problem, all of the resources by which that problem arose, when and where it started happening, thing like that. Now unless this question get shot down by the $$anonymous$$oderators I'll try to help, simply because that is a very interesting idea.
Answer by YourGamesBeOver · Mar 05, 2014 at 10:48 PM
Static variables are maintained between scenes if I remember correctly.
You could try adding a static Vector3 variable to your cube script. have the first cube continuously update the variable with its current position. have the second cube continuously set its position to the static variable.