Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Loading custom module?

Discussion in 'Project Tiny' started by MeTheOo, Sep 26, 2019.

  1. MeTheOo

    MeTheOo

    Joined:
    Dec 14, 2014
    Posts:
    22
    I have been trying to integrate Photon Javascript sdk into Unity Tiny Mode without success.

    I followed the step here:
    https://forum.unity.com/threads/can-the-typescript-engine-run-regular-javascript-code.594064/

    Photon sdk in /External/ folder
    Screen Shot 2019-09-26 at 3.33.44 PM.png
    tsconfig.override.json in project root folder
    Screen Shot 2019-09-26 at 3.34.00 PM.png
    content of tsconfig.override.json
    Screen Shot 2019-09-26 at 2.55.28 PM.png
    However, when I tried to extends the loadBalancing, it says loading balancing is not defined
    Screen Shot 2019-09-26 at 2.57.06 PM.png
    It looks like the loading balance is being defined as module
    Screen Shot 2019-09-26 at 3.42.11 PM.png
    But I am not sure if I can add custom modules into tiny mode

    Any insights?

    Thanks so much

    Leo
     
    Manny_bit likes this.
  2. MeTheOo

    MeTheOo

    Joined:
    Dec 14, 2014
    Posts:
    22
    Content of extends
    Screen Shot 2019-09-26 at 3.23.01 PM.png
     
    Manny_bit likes this.
  3. Manny_bit

    Manny_bit

    Joined:
    Oct 2, 2019
    Posts:
    7
    Would be nice if there was more information on how to integrate custom modules in Tiny mode C#
     
    MeTheOo likes this.
  4. MeTheOo

    MeTheOo

    Joined:
    Dec 14, 2014
    Posts:
    22
    Though I eventually integrated photon javascript successfully without custom modules, it is still nice to have a tutorial on how to add custom modules
     
    Manny_bit likes this.