Quantcast
Channel: Questions in topic: "attach"
Viewing all articles
Browse latest Browse all 168

Adding A Script To A Scene

$
0
0
Hello I recently created the script below. function Update(){ if(Input.touchCount > 1){ Application.LoadLevel("1"); } } My question is how would I attach this to an object or anything to make the scene change. I don't really care what I have to touch to advance to the next scene ( The game is still in very early stages and I just want some basic scenes to be able to switch). Thanks a ton in advance any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 168

Trending Articles



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