0
\$\begingroup\$

I wonder if it is possible to export Unity features to my game.

For example if I want user to be able to modify scale or rotation of object, do I have to scritp it myself or can i somehow export it ? Same question about some simple texturing, adding lights, etc.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ So you want your game to be an editor of some sorts / have editor functions in your game? \$\endgroup\$
    – Djindjidj
    Dec 14 '16 at 10:41
  • \$\begingroup\$ Exactly, I want my game to have some kind of customizing interior of the room. \$\endgroup\$ Dec 14 '16 at 10:44
2
\$\begingroup\$

No, you will have to implement this yourself.

While you can access some of the classes from the UnityEditor namespace while testing in the editor, they are unavailable when you actually build the game. The result will be that the game will fail to compile.

So if you want any editing functionality within your game, you need to build that yourself using the Unity UI system with the widgets it provides.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.