Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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