当前位置:网站首页>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
边栏推荐
- [set theory] order relation (hastu example | divisive relation hastu | inclusive relation hastu | refinement relation hastu)
- 基于SSM的校园失物招领平台,源码,数据库脚本,项目导入运行视频教程,论文撰写教程
- E: Unable to locate package ROS melody desktop full
- Osgearth starry background
- Creation and content of mapnode -- osgearth rendering engine series (2)
- Golang string segmentation, substitution and interception
- Osgearth topographic shading map drawing
- Three characteristics
- 【更新中】微信小程序学习笔记_3
- LinkList
猜你喜欢

Creation of osgearth earth files to the earth ------ osgearth rendering engine series (1)

Graphics_ Learnopongl learning notes

Unity interactive water ripple post-treatment

animation

Display terrain database on osgearth ball

About Wireshark's unsuccessful installation of npcap

Thymeleaf 404 reports an error: there was unexpected error (type=not found, status=404)
![[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)](/img/df/a034032e203e7935dafaf8a71cb6c8.jpg)
[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)

Solution détaillée de toutes les formules de fonction de transfert (fonction d'activation) du réseau neuronal MATLAB

Simple demo of solving BP neural network by gradient descent method
随机推荐
P1896 [scoi2005] non aggression (shape pressure DP)
数据的存储
Markdown directory generation
Sequence of map implementation classes
Get to know unity2 for the first time
Graphics_ Games101/202 learning notes
Redis data structure
C course design employee information management system
Data analysis exercises
796 · unlock
Golang中删除字符串的最后一个字符
Easy touch plug-in
2021-10-19
Redis cluster series 4
Go resolve ID card
二进制转十进制,十进制转二进制
Conversion between golang JSON format and structure
Golang json格式和结构体相互转换
Youyou1 of xlua knapsack system
Visual Studio (VS) shortcut keys