public override void OnEnter() { if (MapSystem == null) { MapSystem = KGFAccessor.GetObject <KGFMapSystem>(); } if (MapSystem != null) { MapSystem.SetIconsVisibleByCategory(IconCategory.Value, ZoomValue.Value); } else { LogError("Could not find mapsystem object in scene"); } Finish(); }