Ejemplo n.º 1
0
        public static void OnPreLoad()
        {
            Tunings.Inject <CarUFO, Definition, NewDefinition>(false);

            sOldSingleton = Singleton;
            Singleton     = new NewDefinition();
        }
Ejemplo n.º 2
0
        public void OnPreLoad()
        {
            InteractionTuning tuning = Tunings.GetTuning <CarUFO, Definition>();

            if (tuning != null)
            {
                tuning.Availability.Teens = true;
            }

            Tunings.Inject <CarUFO, Definition, NewDefinition>(false);

            sOldSingleton = Singleton;
            Singleton     = new NewDefinition();
        }