public override void OnPreLoad() { Tunings.Inject <Terrain, Terrain.GoHere.OtherLotDefinition, OtherLotDefinition>(false); Tunings.Inject <Terrain, Terrain.GoHere.OtherLotWithCarriedChildDefinition, OtherLotWithCarriedChildDefinition>(false); Tunings.Inject <Terrain, Terrain.GoHere.SameLotDefinition, SameLotDefinition>(false); sOldOtherLotSingleton = OtherLotSingleton; OtherLotSingleton = new OtherLotDefinition(); sOldOtherLotWithCarriedChildSingleton = OtherLotWithCarriedChildSingleton; OtherLotWithCarriedChildSingleton = new OtherLotWithCarriedChildDefinition(); sOldSameLotSingleton = SameLotSingleton; SameLotSingleton = new SameLotDefinition(); }
public override void OnPreLoad() { Tunings.Inject<Terrain, Terrain.GoHere.OtherLotDefinition, OtherLotDefinition>(false); Tunings.Inject<Terrain, Terrain.GoHere.OtherLotWithCarriedChildDefinition, OtherLotWithCarriedChildDefinition>(false); Tunings.Inject<Terrain, Terrain.GoHere.SameLotDefinition, SameLotDefinition>(false); sOldOtherLotSingleton = OtherLotSingleton; OtherLotSingleton = new OtherLotDefinition(); sOldOtherLotWithCarriedChildSingleton = OtherLotWithCarriedChildSingleton; OtherLotWithCarriedChildSingleton = new OtherLotWithCarriedChildDefinition(); sOldSameLotSingleton = SameLotSingleton; SameLotSingleton = new SameLotDefinition(); }