I'd like to declare and set a global xpEngine object to use in my global scripts file. I don't want to instantiate a new engine, just grab the reference for it so I don't have to pass the `Engine` ref as a parameter to nearly every function.
The closest I've gotten is to call a "SetPublic" function at the start of every event but that kind of defeats the purpose a bit, ideally it should be contained to the global scripts entirely. Any ideas?
Pictured below is the "SetPublic" method
And this is how I'd like it to work
Passionate about live production, Ross Video designs, manufactures and delivers dependable technology and services that power exceptional live video productions seen by billions of viewers around the world every day.
62 Auriga DriveNepean, OntarioCanada, K2E 7W6
Phone+1 613 228-0688Emailcommunity@rossvideo.com