Search Unity

How to call external function in webgl

Discussion in 'Web' started by witcher101, Oct 1, 2018.

  1. witcher101

    witcher101

    Joined:
    Sep 9, 2015
    Posts:
    516
    How do i execute external JavaScript functions from unity webgl??
     
  2. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
  3. cobykaufer

    cobykaufer

    Joined:
    Aug 8, 2018
    Posts:
    6
  4. ibyte

    ibyte

    Joined:
    Aug 14, 2009
    Posts:
    1,048
    @Schubkraft Your doc link above does not explain how to call a javascript function located in the index.html that loads the WebGL project. Do you have an example of this? Looking for something equivalent to Application.ExternalCall()
     
  5. ibyte

    ibyte

    Joined:
    Aug 14, 2009
    Posts:
    1,048