Editor Variables

Anyone know how to access Editor scripts variables, not through Editor.target, but ingame.

I don’t think Editor variables can be accessed in game.

function OnDrawGizmos () {
	var attempt = new Array();
	attempt = GridGenerator.gridterrain;
	Debug.Log(attempt);
}

here is my script, it would be great if there was a way to access the editor variables.