How to Make the HandTool,Rotate,Scale Object at Runtime

Hi

In My project When i click the button . The Cube Should Populate. I have done that. When i click the cube

Whatever i can done in the Scene View. That means if i select rotate object the object is rotating in the scene.

The same thing should be apply in the runtime. I have four buttons HandTool,Rotate,Scale . When i click the

Rotate The Rotate icon should enable like a editor at runtime. And the Object Should Rotate.

My Aim is to give a Run Time Editor at RUNTIME… How can i do it?

EDIT:
shall i have to learn editor scripts… is there any code is there… kindly give any reference…

thanks in advance

Why are you yelling?

You’ll need to recreate the tools yourself with code. You can’t just take the editor versions of the tools and have access to them. You’ll need to add a way to select an object, to then rotate it, scale it, and move it.

Sure, you can probably find code out there.

And editor scripts are for editor only and are not usable in a built version of the game, so learning editor scripts isn’t going to help you that much.

Hi Brathnann… Thanks for Your reply. I am not yelling? i am speaking only Softly only. Any How I am Sorry…

Can any one give any reference for my post…

When you type in all caps, that is considered yelling. lol.

You need to break it down. Figure out how to select a gameobject (your cube in this case) then create the user interface. Then you’ll need it where you select a button and can do some sort of left click and hold to rotate for example and have it apply that rotate. There may be stuff out there already on the asset store or somewhere else that already has some of this done for you and you might be able to utilize what they have.

But otherwise, what you’re asking isn’t just a simple bit of code. Just break it down, start on one piece at a time and come back here if you need help along the way instead of trying to get it all at once. :slight_smile:

Thanks Brathnan for your reply. I have changed my caps Letters. lol.

Actually I am doing alone to create a user interface. Did you or any one have Idea. Without using any asset store link

how much time it take create a basic editor Run time interface. I am intermediate in unity.

2)Any one can give a reference or asset store or github link for Run Time Editor…