protected void spawnStaticObject() { isBuilding = false; buildCompleted = false; KKWrapper.Init(); KKAPI.SpawnObject(staticToSpawn); }
public static void Init() { if (kkAssembly == null) { foreach (AssemblyLoader.LoadedAssembly loadedAssembly in AssemblyLoader.loadedAssemblies) { if (loadedAssembly.name == "KerbalKonstructs") { kkAssembly = loadedAssembly.assembly; break; } } if (kkAssembly == null) { return; } } //Now init the classes and methods KKAPI.InitClass(kkAssembly); }