Search Unity

  1. Click here to see what's on sale for the "Best of Super Sale" on the Asset Store
    Dismiss Notice
  2. We are looking for feedback on the naming of a new user research platform that we are working on.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Calling C# Function from Javascript in Tiny

Discussion in 'Project Tiny' started by Savign, Apr 2, 2020.

  1. Savign

    Savign

    Joined:
    Nov 15, 2013
    Posts:
    3
    Hi,

    Is there currently any way to call a C# function from Javascript in Tiny?

    Seems like SendMessage usually relies on a Monobehaviour attached to a game object, i.e. SendMessage("GameObject", "FunctionName", "Params"), but from my understanding Monobehaviours aren't available in Tiny.

    I've had a search around, but haven't found much on this topic - any assistance would be greatly appreciated!

    Thanks
     
  2. brunocoimbra

    brunocoimbra

    Joined:
    Sep 2, 2015
    Posts:
    517
  3. Savign

    Savign

    Joined:
    Nov 15, 2013
    Posts:
    3
    Looks good, will give that a crack. Thanks mate!
     
    brunocoimbra likes this.
unityunity