Quantcast
Channel: Questions in topic: "write-my-code"
Viewing all articles
Browse latest Browse all 92

How to make trigger removes script.

$
0
0
Hi,i want script removes when player is in trigger,but how? Here is my script,its unfinished,i dont know what to do next,so please help. :) function OnTriggerEnter (other : Collider) { if (other.tag == "Player"){ GameObject.Find ("Wall").GetComponent("FixedJoint"); } }

Viewing all articles
Browse latest Browse all 92

Trending Articles



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