示例#1
0
        public void MoveReferences(Project project, string fromPath, string toPath)
        {
            if (project.IsCompileTarget(fromPath))
            {
                project.SetCompileTarget(fromPath, false);
                project.SetCompileTarget(toPath, true);
            }

            if (project.IsLibraryAsset(fromPath))
            {
                project.ChangeAssetPath(fromPath, toPath);
            }
        }