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

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:
    679
  3. Savign

    Savign

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