Here's a bit of a [guide][1]
Some googling and searching the forums and answers will give you more answers.
Don't be surprised if your question gets down voted as this basically falls under the category of "write my code for me". That's not the purpose of Unity Answers.
Stuff like the list can be searched really easily. I just found the list syntax with 20 seconds of googling:
var myList : List.<Type> = new List.<Type>();
[1]: http://fragileearthstudios.com/2011/10/18/unity-converting-between-c-and-javascript-2/
↧