summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IXNGUI.cs
blob: cf9bc527a1bbd9aab0acd96ba978c3ce38dd6abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using UnityEngine;

namespace XUtliPoolLib
{
	public interface IXNGUI : IXInterface
	{
		bool XNGUIEnable();

		GameObject XNGUICreate(string locate);

		GameObject XPrefabCreate(string locate);

		bool XNGUIDestory(UnityEngine.Object o);

		T XNGUIResource<T>(string locate, bool ignore_null) where T : UnityEngine.Object;

		AssetBundleRequest XNGUISharedResourceAsync<T>(string locate, bool ignore_null = false) where T : UnityEngine.Object;

		bool XNGUIIsDecompress();

		bool XNGUIDecompressStreamAssets(Action<float> percent);

		string XNGUIGetDecompressProgress();

		bool XNGUIDecompressZipBytes(string zipFile, byte[] stream);

		void XNGUIWWW(Action<string> errorinfo);
	}
}