Search Unity

Running javascript libs from standalone players

Discussion in 'Scripting' started by GilCat, Jul 25, 2017.

  1. GilCat

    GilCat

    Joined:
    Sep 21, 2013
    Posts:
    676
    Hello is it possible to call from a Stansalone player (eg. Windows or MacOS) into jslib files such as any lib converted with Emscripten?
    My goal is to convert a few java libs into javascript using Emscripten and then make them usable in Standalone versions of the player.

    Thanks
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    There should be. Search stack overflow for a C# way to do this. Most pure C# solutions will work in Unity.
     
    GilCat likes this.
  3. GilCat

    GilCat

    Joined:
    Sep 21, 2013
    Posts:
    676
    Thanks. I was searching on something that Unity might have already built in and discarded a much wider search.
    I end up using Jint