Jump to content

Search the Community

Showing results for tags 'namespace'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 2 results

  1. [SOLVED] maximum namespace is 65535

    hi, I added a complicated script code to unigine editor. At last, I got a wrong code "editor/editor.cpp:328:NameSpace::NameSpace(): maximum namespace is 65535". What's wrong with my code? And how should I do to solve it? Thanks.
  2. [SOLVED] namespacing issue

    Hi, we have been using the 2011-12-28 version of the sdk until lately. We have been encountering some issues with namespacing from within the UnigineScripts with the newer version (2012-04-11, which we are aware is not the latest). 1. using keyword can only be used if the code is encapsulated within a namespace also. with error (Interpreter::parse_prototype():can't find "myNamespace::subNamespace" namespace): using myNamespace::subNamespace; MyObject object; int init() { object = new MyObject(); return 1; } without error: namespace World { using myNamespace::subNamespace; MyObject object; int init() { object = new MyObject(); return 1; } } 2. the second code snippet would work but the interpreter cannot properly parse the world init because it is now contained within a namespace, instead we have to do this: int init() { return World::init(); } namespace World { using myNamespace::subNamespace; MyObject object; int init() { object = new MyObject(); return 1; } } Is this intended behavior?
×
×
  • Create New...