public override void OnInspectorGUI() { base.OnInspectorGUI(); Cave c = target as Cave; c.GenerateLevel(); }