You generally don't need to do that; type inference takes care of it for you.
Pretty much the only way to get an untyped variable is to do this:
If you're declaring a variable with just the type and default value ("
answered Dec 17 '10 at 11:11 PM
The most common built in are:
Obviously there are more, but these are the basic ones everyone should be familiar with...
Finally Unity expose several types that you find in the scripting reference, stuff like Vector3, Quaternion, MonoBehaviour, Time...
answered Dec 17 '10 at 11:14 PM
I found this page that lists types used in UScript I have a case where float type fails a comparison, so I was looking for single or double... seems double is the only one available.
answered Apr 30 '11 at 08:54 AM