1
NGUI 3 Support / Re: Windows 8 Phone
« on: June 25, 2014, 03:12:35 PM »
Updated to Unity 4.5.1f3 and seems to have fixed all the NGUI issues I was having. Thanks
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
These are known as generic functions. The significance they have for scripting is that you get to specify the types of parameters and/or the return type when you call the function. In JavaScript, this can be used to get around the limitations of dynamic typing:-
// The type is correctly inferred since it is defined in the function call.
var obj = GetComponent.<Rigidbody>();