Hi,
I want to make 3 buttons where the user can scale his object in the scene. With the help of x , y , and z.
In other words to define the size of a gameobject.
Has anyone done that before?
Please Help!
Thankyou:smile:
Hi,
I want to make 3 buttons where the user can scale his object in the scene. With the help of x , y , and z.
In other words to define the size of a gameobject.
Has anyone done that before?
Please Help!
Thankyou:smile:
Easy peezy. Do you have a script created yet?
What method will you use for scaling down if the user goes to big the first time? ![]()
var currentObj = yourObjVar;
if(GUI.Button(Rect(0,0,0,0),"")) {
currentObj.localScale.x += yourValueVar;
}
Hi , Thanks!
I dont have a script yeat, Nothing comes to mind for doing an intuitiv method for doing the thing you mentioned above if the user goes to big the first time!
but maby text field for each of this 3 scale axes? where the user punches f.eks = 1.3 or down to 0.4 or somethin