x


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?

more ▼

asked Sep 05 '11 at 07:32 AM

ina gravatar image

ina
3.3k 492 549 598

I don't think you can. O_O In the linked article on MSDN 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_Keywords

Sep 05 '11 at 09:41 AM CHPedersen
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3459
x289
x129
x66
x36

asked: Sep 05 '11 at 07:32 AM

Seen: 1823 times

Last Updated: Sep 05 '11 at 09:41 AM