Import and Export values and functions in scripts in Lens Studio

Описание к видео Import and Export values and functions in scripts in Lens Studio

Have you ever needed to use a function or value from one script in another in Lens Studio? Learn four different methods on how to do that using global variables, the script.api property, the shared script object, and exporting modules.

00:00 Intro
00:15 Global variables
02:16 The scripting API (script.api)
05:38 Shared script object
08:05 Modules (module.exports and require)
09:48 Outro

Subscribe to the newsletter for even more! -- https://modelsbymike3d.eo.page/arboot...

Like what you see?
Support me on Patreon! --   / modelsbymike  
Buy me a coffee! -- https://www.buymeacoffee.com/modelsby...

Follow me! I make augmented reality filters and share stuff about bugs.
Snapchat:   / modelsbymike3d  
Instagram:   / modelsbymike3d  
Facebook:   / modelsbymike3d  
Twitter:   / modelsbymike3d  

Комментарии

Информация по комментариям в разработке