public override void Run()
        {
            ScriptReferenceResolver.Run();

            UnitBase.Rebuild();

            RequireAction("Version 1.3 is a major refactor that changed most of the folder structure. Some manual actions may be required. See: http://bit.do/bolt-1-3");
        }
Exemple #2
0
        public override void Initialize()
        {
            base.Initialize();

            // Variables moved to Bolt.Core assembly in v.1.3

            ScriptReferenceResolver.AddReplacement
            (
                new ScriptReference(BoltFlow.instance, "Bolt", "Variables"),
                new ScriptReference(BoltCore.instance, typeof(Variables))
            );

            ScriptReferenceResolver.AddReplacement
            (
                new ScriptReference(BoltFlow.instance, "Bolt", "SceneVariables"),
                new ScriptReference(BoltCore.instance, typeof(SceneVariables))
            );

            ScriptReferenceResolver.AddReplacement
            (
                new ScriptReference(BoltFlow.instance, "Bolt", "VariablesAsset"),
                new ScriptReference(BoltCore.instance, typeof(VariablesAsset))
            );
        }