public override void OnInspectorGUI() { base.OnInspectorGUI(); TreeGenerator tree = target as TreeGenerator; tree.GenerateMap(); }