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

Call UnityScript from javascript in Project Tiny

Discussion in 'Project Tiny' started by jeppebentzen, Sep 16, 2020.

  1. jeppebentzen

    jeppebentzen

    Joined:
    Dec 7, 2017
    Posts:
    1
    Hello!

    Is it possible to call c# methods in Unity from Javascript like you can do with 'normal' webGL like this: unityInstance.SendMessage('MyGameObject', 'MyFunction');

    I know this is possible with pure c++ webassambly, but is there some way to do this in Unity ?

    Best regards
    Jeppe