Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

Global time triggered script

$
0
0
How can i add a script to my project wich is executet in every scene the whole time the game is active. As an example I want to pop up some ads after every x minutes, don't matter wich level is currently played. One previus solution for me was to add a script to every scene, but there must be a easier way to do this, because Ihave now about over 50 scenes. can I add an empty gameobject to my first scene (splash screen) with the script on it, and tell it somehow to stay alive the whole game? Thx

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>