- Home /
Can someone list every possible basic variable?
In an attempt to self-teach myself how to use Unity, I have come into a problem. I do not know many variables which I can use, so can someone list pretty much every variable (or at least all the basic ones) that can be used in Javascript, and give a little description of each?
I have attempted to find some reference for this around the internet, but I have had no luck. The only one that I am very sure about is Texture2D
. I think this would also be good for other new people to Unity, so they know what variables they can use as well.
Answer by Jessy · Nov 14, 2010 at 03:48 AM
http://docs.unity3d.com/412/Documentation/ScriptReference/10_reference.Classes.html
http://docs.unity3d.com/412/Documentation/ScriptReference/20_class_hierarchy.html
(The second one is more what you asked for, but the first link is more helpful because you can see what makes up the classes.)
@Biendeo, + all the standard javascript classes i.e. integers, strings and such.
I'm extremely nooby, I don't know what to look for at these links. For example, how will I find what the variable is that I should use to reference a scene?
You won't, because Unity doesn't work like that. Look up "Application.LoadLevel" at the first link ins$$anonymous$$d.
Answer by Loius · Nov 14, 2010 at 03:49 AM
Haha.
Also remember to step through a tutorial or two. Lerpz is a particularly well-rounded one in my experience.
Answer by Terry.du · Nov 14, 2010 at 02:42 PM
Have a look at UnityScript.com, perhaps it may get you going from the ground floor.