Is there any easier way the changing number-parameters and then saving doing it again, etc. or would it be easier to render it on planes that are rendered like Depth Only (used for guns)
That “etc.” isn’t exactly helping in clarifying your post.
Sorry, but I have no idea what you’re saying. Can you rephrase?
When you want to move a gui element you have to keep changing the numbers in the code to move it around.
Yes? I don’t get the question.
never mind… :s It’s really hard to explain.
here do you mean move it by animating because I can help with that.
download mathx functions
in code replace position with one of them and there you have moving gui then you can customize the functions for movement. I’ll help with that if you can’t.
You can define a public Rect variable in your script. If you are only trying to move one GUI element around, use that variable directly. If you are trying to move more than one GUI element, you can define an area with the rect and place all the GUI elements in that area.
is this what you are trying to do?
var guiRect : Rect;
function OnGUI () {
GUI.Box(guiRect, "My position is based on a public variable, therefore you don't have to re-compile my script to change it!");
}