automatically imported classes

iv made a couple class files and they seem to be imported automatically into my other scripts. why is this?

1 Answer

1

because you made them Public?

(public class CalssName() … )

they look like this: #pragma strict class StatsPack { //some code } so if they are public by default then yeah i guess.

hammm... JAVASCRIPT... i prefer C#. but i can tell that when i create public class in C# i don't need to import it...