Quantcast
Channel: Questions in topic: "slot"
Viewing all articles
Browse latest Browse all 109

script slot possible?

$
0
0

i alreddy looked arround but could not find a solution. this is just a wild gues of what it should be but i cant get it any better i just want to make some sort of script slot where i can drag a script into it. and than add the script to its gameobject trigger whare the other script alreddy is attached on so i want to every time i go in to the trigger area. i want to activate the script in the slot so my question would be is this possible to do? anyway thanks

var script : Script;

function OnTriggerEnter(other : Collider) {
script.enabled = true;
}

greatz wezz from the Netherlands


Viewing all articles
Browse latest Browse all 109

Trending Articles



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