Jump to content

Askirkela

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Askirkela

  1. Hello. Does anyone know how to differentiate the overview of the KSC from, say, the management building scene? I'm trying to make my plugin appear only in the KSC overview, the trackstation and in flight... I tried with [KSPAddon (KSPAddon.Startup.FlightAndKSC, true)] coupled with a little UnityEngine.Object.DontDestroyOnLoad (this); and some if (HighLogic.LoadedScene.Equals (GameScenes.SPACECENTER) || HighLogic.LoadedScene.Equals (GameScenes.TRACKSTATION) || HighLogic.LoadedSceneIsFlight) But it keeps showing up in KSC's building other than editors. I tried to remove the DontDestroyOnLoad(), but once it's gone, it's gone for good... I'm out of ideas, please send help
×
×
  • Create New...