Hi everyone. I recently followed the babylonjsToolkit getting started guide, and everything went ok. I originally started using babylonjs for Facebook Instant Games. So to enable Facebook Instant Games, inside the Unity editor I went to Project Window >> Assets >> Babylon >> Template >> Config, and I edited the game.html file like this How to use Babylon.js in a Facebook Instant Game - Babylon.js Documentation
Thankfully everything worked fine, and now I want to load ADS using Facebook Instant Game when clicking on a button inside my scene. However, I don’t know how to access FBInstant since it’s declared in the game.html, and my scenes/gameobjects do not know about.
I want to know how to call Facebook Instant Games SDK inside the editor and interact with it.
Please help me. I really have no idea on how to do it. Thanks in advance