Skip to content

Commit

Permalink
0.0.8.24 fix:打 AB 包时报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxiegame committed Jul 27, 2018
1 parent 0094492 commit 853adac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ public void SwitchLanguage(string key)

public static ResDatas Create()
{
if (Instance != null)
{
Instance.Dispose();
}

return Instance;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ private void OnGUI()

if (GUILayout.Button("Build"))
{
AssetBundleExporter.BuildDataTable();
BuildWithTarget(EditorUserBuildSettings.activeBuildTarget);
Close();
}

if (GUILayout.Button("ForceClear"))
Expand Down

0 comments on commit 853adac

Please sign in to comment.