Search Unity

Loading Unity Content in UWP on HoloLens at Runtime

Discussion in 'Scripting' started by BenLighthouseReeves, Apr 11, 2017.

  1. BenLighthouseReeves

    BenLighthouseReeves

    Joined:
    Apr 11, 2017
    Posts:
    5
    I'm building a Unity UWP app which will host an unknown number of child applications. The host application would contact a server and load child applications at runtime. Users interact with the host and can discover new content there.

    Currently I don't understand how to load self-contained external modules with scripted functionality. By comparison, in a Flex/Flash application you might load an external SWF. In the browser you could point to another .js file. I'm trying to understand how to do this with Unity/UWP.

    Here's the closest answer I've found so far:

    http://answers.unity3d.com/questions/442769/how-do-i-load-code-dynamically-from-outside-source.html

    I don't know how to create assemblies for this purpose nor how to communicate with them once they load. Is there a best practice for what I'm trying to do or documentation on how this can be done, that I may have missed?


    I appreciate any leads you might be able to share. Thanks in advance,
    Ben