- Home /
Namespace declaration for UnityScript or Unity Javascript
How do you declare namespace's to use enum's with the same variable name in Unity Javascript?
I don't think you can. O_O In the linked article on $$anonymous$$SDN below, "namespace" is clearly available as a keyword in C#, but it doesn't figure in the list of UnityScript keywords available on the wiki. :-/
If this is possible in UnityScript, it seems it must be done with some other mechanic than the namespace keyword.
http://msdn.microsoft.com/en-us/library/z2kcy19k%28v=vs.80%29.aspx http://www.unifycommunity.com/wiki/index.php?title=UnityScript_$$anonymous$$eywords
Your answer
Follow this Question
Related Questions
[CLOSED] UnityScript - enum to numeric value error 1 Answer
Are Unity's JS OOP functions customized? 2 Answers
Closure does not work in Unity JS functions? 1 Answer
Collide detection with tag [JS] 0 Answers
Help me Convert JS to C# 2 Answers