/* Create a preform */ async Task creatorPrefab(string filePath) {
// This relative path is best modified to the current script path , For specific methods, please refer to another article to get script path GameObject _newPrefab = AssetDatabase.
"Assets/Editor/XLua/EditorWindow/Function2/ModleDialog.prefab"); _newPrefab =
GameObject.Instantiate(_newPrefab);// Instantiate it first await Task.Delay(System.TimeSpan.
FromSeconds(0.2)); Delay for a while // Save to filePath Under the path Object createObj = PrefabUtility.
SaveAsPrefabAsset(_newPrefab,filePath);// Using absolute paths will warn you , Try to turn to relative path GameObject.
DestroyImmediate(_newPrefab);// Delete instanced objects immediately }
/* Formwork preform */ Task _prefabtask = creatorPrefab(@"Assets/Resources/Prefabs/UI/"+

©2020 ioDraw All rights reserved
0.96OLED display -4 Line SPI explain C++11 of std::function,std::bind,std::placeholdersJavaScript study ( Function declaration and parameters )QTabWidget Style sheet settings The project passed idea Package and publish to tomcat The server postman Interface test get timestamp and MD5 encryption react Background management configuration route and sidebar :python Simple game code -10 Minutes Python Write a snake game , simple You know? Python What does the foundation include ? Learn something ?10 individual Python Introduction to crawler