참고: Unity Document WebGL

build시 생성되는 unityInstance에 메세지를 보내서 호출.

unityInstace.SendMessage('오브젝트명', '함수명');