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