If you have a class created at the start of the script, is there anyway to get variables or arrays from outside that class, say if you have a class function you want to create?
Something like:
var start : vector3 = (0,1,0);
class Player {
function Move (){
player.transform.position = start;
etc
}
}
Is it possible to do anything like this? Thanks for your time.