• Stars
    star
    150
  • Rank 245,879 (Top 5 %)
  • Language
    C#
  • Created about 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Unity3D assetbundle resources API

Unity3DGameResource

This is a Unity3d assetbundle API. (这里有unity3d加载assetbundle的api)

This plugin inclue all of the assetbundle loading method.(这里将所有Assetbundle加载方式都进行了API封装)

Email : [email protected]

Blog: http://www.luzexi.com (in chinese)

Load sync (阻塞加载)

1.Resource.Load
2.AssetBundle.CreateFromFile + AssetBundle.Load
3.File Read all + AssetBundle.CreateFromMemoryImmediate + AssetBundle.Load

Load async (非阻塞加载)

1.WWW + AssetBundle.Load
2.WWW + AssetBundle.LoadAsync
3.AssetBundle.CreateFromFile + AssetBundle.LoadAsync
4.File Read all + AssetBundle.CreateFromMemory + AssetBundle.Load
5.File Read all + AssetBundle.CreateFromMemoryImmediate + AssetBundle.LoadAsync
6.File Read async + AssetBundle.CreateFromMemoryImmediate + AssetBundle.Load
7.File Read async + AssetBundle.CreateFromMemory + AssetBundle.Load
8.File Read async + AssetBundle.CreateFromMemory + AssetBundle.LoadAsync

Interface description (接口描述)

1.WWW load function.
2.File load function. (include sync load and async load)
3.AssetBundle load function. (include CreateFromFile , Load , LoadAsnyc, CreateFromMemory , and CreateFromMemoryImmediate)
4.Resources stay load function. (the resources will storage in the memory if you not clear it)
5.Resources no stay load function. (the resources will not storage in the memory)
6.Resources load by unity3d api. (resources is load by Resources.Load)
7.ZipManager uncompress the zip file.

Example (示例)

All of the example in the example folder. (所有示例都在example文件夹里)

1.example1 : How to use AbRequest to load amount of assetbundle.

(如何使用AbRequest加载assetbundle)

2.example2 : How to use AbMgr to load amount of assetbundle. The difference between AbRequest and AbMrg is AbRequest will destroy the assetbundle when finished , but AbMrg not.

(如何使用AbMgr加载assetbundle。与AbRequest不同的是,AbRequest在加载完毕后会销毁Assetbundle,AbMgr不会)

3.example3 : How to use AssetBundleLoader.CreateFromFile load assetbundle. It's synchronize.

(如何使用AssetBundleLoader.CreateFromFile加载assetbundle,这是阻塞加载)

4.example4 : How to use FileLoader.ReadAllBytes + AssetBundleLoader.CreateFromMemoryImmediate to load assetbundle.

(如何使用FileLoader.ReadAllBytes读取文件并用AssetBundleLoader.CreateFromMemoryImmediate加载2进制成为assetbundle)

5.example5 : How to use AssetBundleLoader.LoadBinary to load assetbundle by byte[] in async.

(如何使用AssetBundleLoader.LoadBinary异步加载byte流成为assetbundle)

6.example6 : How to use AsyncLoader.StartLoad to load an Object from assetbundle.

(如何使用AsyncLoader.StartLoad从assetbundle中加载某物体,此为异步)

7.example7 : How to use FileLoader.AsyncReadFile to read file and when it finished use AssetBundleLoader.CreateFromMemoryImmediate to load assetbundle.

(如何通过FileLoader.AsyncReadFile 异步读取文件并使用AssetBundleLoader.CreateFromMemoryImmediate 加载bye流成为assetbundle)

8.example8 : How to use ZipManager to uncompress a zip file then use AssetBundleLoader.CreateFromFile to load assetbundle.

(如何将多个assetbundle打成zip的文件进行解压,并在解压后对其进行加载并呈现画面)

TODO

1.Encrypt assetbundle. (assetbundle 加密)

More Repositories

1

Unity3DAIBehaviorTree

专为Unity3D打造的AI行为树
C#
265
star
2

Unity3DNavMesh

为Unity3d打造的NavMesh
C#
112
star
3

xls2lua

A script to convert xls or xlsx to lua files.
Python
95
star
4

Unity3DuGUI-Toolkit

In Unity3D 5.3.2+ , the uGUI has not enough compontent to build GUI system. So this repository can improve it .
C#
69
star
5

Unity3DCharacterEffectEditor

Unity3D role skill effect editor can make character skill in editor including animation, effect and hit box.
C#
39
star
6

Unity3DNetwork-http

Unity3D的http网络层封装
C#
27
star
7

Unity3DMapEditor

Map Editor for unity3d. It can place NPC , Monster , and Building . It will generate a data file to record the map infomation.
C#
26
star
8

Unity3DUtil

Unity3D game project develop util
C#
21
star
9

Unity3dToBeLeader

《Unity3D高级编程进阶主程》错误上报点
21
star
10

Unity3DMVC

专为unity3d打造的MVC架构
C#
19
star
11

Unity3DTable

Unity3D table data parse about csv , xml , json , ini .
C#
19
star
12

Unity3DWebView

Unity3DWebView 网页调用与回调
Objective-C
17
star
13

Unity3DSocket

Unity3D Socket (TCP)
C#
16
star
14

Unity3DEncrypt

Unity3D Encrypt and Decrypt data .
C#
15
star
15

Unity3DItemSystem

Unity3D物品通用系统
C#
14
star
16

Unity3DCharacterCustomization

专门Unity3d打造的角色换装系统
C#
14
star
17

MinGW

MinGW just for building windows library
C++
13
star
18

Unity3DRuntimeDebug

Unity3D RuntimeDebug can show debug information in Android , iOS , and all of the platform.
C#
12
star
19

Unity3DMemoryCompare

Unity3D memory compare every frame in editor
C#
12
star
20

Unity3DFSM

为Unity3D打造的角色渲染和行为有限状态机。
C#
11
star
21

Unity3DWaypointPathfinding

Unity3D waypoint pathfinding system
C#
11
star
22

blog

www.luzexi.com
HTML
9
star
23

version_update

Php generate json file to display which file have to update.
PHP
9
star
24

Game-BraveKingdoms

It is a single-player-game made by unity3d and It use lua to program.
C#
7
star
25

xls2csv

xls to csv
Python
6
star
26

pomelo-unityclient-socket-demo

pomelo-unityclient-socket-demo
C#
6
star
27

Unity3D-UDP

UDP for Unity3D
C#
5
star
28

Unity3D-symbol

Unity3D tool. Can open or close symbol in unity3d.
C#
5
star
29

Unity3DZone

Unity3D区域物体裁剪--大型区域中对非必要物体采取不渲染或者不运行处理
5
star
30

Unity3DPlatformSDK

It is good to access many sdk.So you will not to take more time to check it.
C#
3
star
31

Unity3DAdvertisement

Unity3D 广告插件
Objective-C
2
star
32

kdm-client

kids daily mission
C#
2
star
33

Unity3DPushMessage

为Unity3D打造的推送封装
C#
2
star
34

freeradius-server-session-limit

The FreeRADIUS Server for vpn authorize and counting. Focus on session counting.
C
2
star
35

one_and_one

1加1连连看html5游戏
C++
2
star
36

Unity3D-DocClean

Unity3D4.6+ Documents load slowly in china because of the google font . This Repository can fix the problem.
Shell
2
star
37

Unity3DSublime2Project

It will generator sublime2 project in unity3d.And in the project , it will ignore the files or folders which you want. So you can use sublime2 to code faster.
C#
1
star
38

jekyll-relate

jekyll relate template
HTML
1
star
39

translate

translate
1
star
40

Unity3DWeiboShare

Unity3d新浪微博分享sdk插件
Objective-C
1
star