public static void BuildAllAssetBundle(string directory, bool inAssets = true) { U_IO.CheckAndSetDirectory(directory, inAssets); if (!inAssets) { BuildPipeline.BuildAssetBundles(directory, BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows64); } else { U_Debug.Log123(); BuildPipeline.BuildAssetBundles("Assets/" + directory, BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows64); } }
public virtual void TxtReadInit() { if (!isShowText) { return; } List <List <string> > strListList; if (txt != null) { strListList = U_TextAssets.TxtToStrListList(txt, typeCount, U_TextAssets.En_ListSplitType.根据类别分, U_String.TextSplitString, U_String.En_RemoveLine.去掉空行); } else { strListList = U_TextAssets.TxtToStrListList(U_IO.ReadByFileToString(Application.streamingAssetsPath + @"\" + txtName), typeCount, U_TextAssets.En_ListSplitType.根据类别分); } names = strListList[0]; introductions = strListList[1]; }