Hello, Does anyone one know how I can access variables through other scripts.
I tried doing something like this:
var killplayer : movePlayer = gameObject.GetComponent(movePlayer);
killplayer.Destroy = true;
But that doesn’t work…
Thanks in advance!