Exemple #1
0
 public override void OnEnter()
 {
     if (MapSystem == null)
     {
         MapSystem = KGFAccessor.GetObject <KGFMapSystem>();
     }
     if (MapSystem != null)
     {
         MapSystem.SetMinimapEnabled(MinimapEnable.Value);
     }
     else
     {
         LogError("Could not find mapsystem object in scene");
     }
     Finish();
 }