Search Unity

Namespaces

Discussion in 'General Discussion' started by recon, Dec 5, 2011.

  1. recon

    recon

    Joined:
    Nov 28, 2009
    Posts:
    119
    Just wanted to ask if there is any plans on adding support for namespaces in the next version of Unity? Is it planned at all to ever be supported? It would help me tremendously in my current project :p

    There's a topic on unityfeedback, but it haven't received much votes yet.

    Is it really that hard to add it though (I guess it must be, right)? It's a bit weird that I can have monobehaviours in namespaces inside a compiled DLL but not directly in a unity project.
     
  2. justinlloyd

    justinlloyd

    Joined:
    Aug 5, 2010
    Posts:
    1,680
    I don't know their plans but I doubt it will make it in to any version before 4.0. I don't fully grasp all of the ramifications as I am not involved with the development of Unity, but there should be only a few technical hurdles to overcoming the implementation of namespaces, reflection being one such example. I cannot imagine there are showstoppers that would prevent it from ever being implemented.
     
  3. recon

    recon

    Joined:
    Nov 28, 2009
    Posts:
    119
    Right, that's what I thought too!

    Kinda makes me a sad panda if we have to wait that long for such a rudimentary language feature. Oh well.