iv made a couple class files and they seem to be imported automatically into my other scripts. why is this?
1 Answer
1because you made them Public?
(public class CalssName() … )
iv made a couple class files and they seem to be imported automatically into my other scripts. why is this?
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.
– hardmode2236hammm... JAVASCRIPT... i prefer C#. but i can tell that when i create public class in C# i don't need to import it...
– haim96