Quantcast
Channel: Answers for "Reload Level on Collision"
Viewing all articles
Browse latest Browse all 8

Answer by Muzz 1

$
0
0
var myLevel : String;function OnControllerColliderHit (hit : ControllerColliderHit){    if (hit.gameObject.name == "Runner")    {        Application.LoadLevel(myLevel);    }}

Viewing all articles
Browse latest Browse all 8

Trending Articles



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