摘要:
1、单一文件创建unity3dusing UnityEngine; using UnityEditor; using System.IO; public class BuildAssetBundlesFromDirectory { [@MenuItem("Asset/Build AssetBundles From Directory of Files")] //生成菜单 static void ExportAssetBundles () { // Get the selected directory //获取选择的目... 阅读全文
摘要:
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced (type:7)GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced (type:8)出现此错误,是由于GUIClips中开始与结束的没一一对应上产生的,比如有一个GUILayout.BeginHorizontal();而后面又没有GUILayout.EndHorizontal();与之对 阅读全文