public Vector3 TO(object[] args)
{
Vector3 outValue = Vector3.zero;
if (args [0] is GameObject) { // to an object
GameObject obj = args [0] as GameObject;
outValue = obj.transform.position;
}
else if (args [0] is Vector3) { // to a location
outValue = (Vector3)args[0];
}
return outValue;
}