コード例 #1
0
        public static void DisableTMProSupport()
        {
            if (CanDisableTMProSupport())
            {
                ScriptingDefineSymbols.Remove(TMProSupport);
                AssemblyDefinitionsEditor.Remove(TMProAssemblies, TMProPackage);

                AssetDatabase.Refresh();
            }
        }
コード例 #2
0
        public static void DisableDataBindSupport()
        {
            if (CanDisableDataBindSupport())
            {
                var root = Path.GetDirectoryName(Utilites.GetAssetPath("ScriptsFolder"));

                var current_path = Utilites.GetAssetPath("DataBindFolder");
                var new_path     = root + "/Scripts/ThirdPartySupport/" + Path.GetFileName(current_path);
                if (current_path != new_path)
                {
                    AssetDatabase.MoveAsset(current_path, new_path);
                }

                ScriptingDefineSymbols.Remove(DataBindSupport);
            }
        }