当前位置:网站首页>Unity multi open script
Unity multi open script
2022-07-03 08:27:00 【T.D.C】
Usage method
- Find an empty folder
- Create two new scripts
- To configure bat The path of the script
- double-click bat Script
python Script
import os
from posixpath import dirname
import subprocess
import sys
targetProjectPath = sys.argv[1]
tempBatFile = open("temp.bat", "w")
existDirs = [f for f in os.listdir(os.getcwd()) if os.path.isdir(f)]
for subDir in existDirs:
if os.path.exists("{}/{}".format(os.getcwd(), subDir)):
os.remove(subDir)
targetDirs = [f for f in os.listdir(targetProjectPath) if os.path.isdir("{}/{}".format(targetProjectPath, f))]
print(targetDirs)
for subDir in targetDirs:
if subDir == "obj" or subDir == "Temp" or subDir == "Logs":
continue
path = "mklink /J {} {}\{}\n".format(subDir, targetProjectPath, subDir)
tempBatFile.write(path)
tempBatFile.close()
subprocess.call([r'temp.bat'])
print("complete")
bat Script
python mul_unity_project.py "your project path"
pause
边栏推荐
- Abstract classes and interfaces
- UE4 call DLL
- Swagger document configuration
- matlab神经网络所有传递函数(激活函数)公式详解
- 796 · 开锁
- Creation and content of mapnode -- osgearth rendering engine series (2)
- UE4 source code reading_ Mobile synchronization
- Golang json格式和结构体相互转换
- MXone Pro自适应2.0影视模板西瓜视频主题苹果cmsV10模板
- Encoding and decoding of golang URL
猜你喜欢
数据库应用技术课程设计之商城管理系统
C#课程设计之员工信息管理系统
Constraintlayout's constraintset dynamically modifies constraints
Detailed explanation of all transfer function (activation function) formulas of MATLAB neural network
Storage of data
Minimap plug-in
P1596 [USACO10OCT]Lake Counting S
Scite change background color
OpenGL learning notes
P1596 [USACO10OCT]Lake Counting S
随机推荐
Intersectionpicker in osgearth
Redis cluster series 4
Constraintlayout's constraintset dynamically modifies constraints
Initial unity
Editor Extensions
Development material set
了解小程序的笔记 2022/7/3
Unity4.3.1 engine source code compilation process
Chain length value
KunlunBase MeetUP 等您来!
MAE
梯度下降法求解BP神经网络的简单Demo
matlab神經網絡所有傳遞函數(激活函數)公式詳解
Delete the last character of the string in golang
图像处理8-CNN图像分类
Un système de gestion de centre commercial pour la conception de cours de technologie d'application de base de données
Classes and objects
C#课程设计之学生教务管理系统
Cesium for unreal quick start - simple scenario configuration
UE4 source code reading_ Bone model and animation system_ Animation node