A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Hi, I have about 50 custom styles in a single GUI Skin. There are 150 images total (normal, hover, active) about 300kb each. Unity takes...
Well I just ran into the same boat. I would like polymorphism in javascript! Here's my "Hacked" version: class Turtle { function...
Hey there, I'm using javascript. This seems C# exclusive. I'm also not sure what that accomplishes . :?
Cheers
Thanks, this answers my question
Hey there, Ever since I've been using unity, I've been running into some infinite loops from some logic errors. When this happens I have to...
Thanks for the reply.
Thanks for the reply. Unity allows the creation of classes in JavaScript though.
Hey there, Can anyone verify if the following is a good practice for type casting: var myString : String = "12345.35"; var myInt : int;...
class Color { var R : int; var G : int; var B : int; }; var myColor : Color; That should expose myColor on the inspector with 3...
Sorry guys. I don't know what I was thinking. I just re-read my post. Wow. Of course arrays are passed by reference, that's Programming 101....
Hey there, I'm trying to work with pointers for modularity. For example var myArrayA = new Array(); var myArrayB = new Array(); var...
Yes you're right thanks. I think all of us here have already assumed that I was referring to an instance of a GameObject though.
cheers
Hey there, I'm 100% new to C# scripting, everything feels so weird. Can anyone point me to a very very basic C# script that exposes a...
Hey there, Consider the following XML formats: Format 1: <Player> <name>Alex</name> <Position> <x>1</x>...
I tried that earlier, it wasn't happy with the third line. It still wasn't referring actors[0] to an instance of Actor. Once I defined a blank...
oh I would forget to build a contructor lol thank you very much Alex
Hey there, I forget how to setup dynamic arrays for class objects. I forget the syntax :oops:. I get "Object reference not setup to an...
This is an excellent practice for any type of programming!