Skip to content

Outgoing/EventDrivenLoader-for-AssetBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Project Info

Env

| name | value | |:-----------|:------|:------| | Unity version |5.0.2f1||

Assets

name value
AssetBunlde Demo http://files.unity3d.com/vincent/assetbundle-demo/users_assetbundle-demo.zip
JewelSaviorFREE http://www.jewel-s.jp/

Usage.

GetAssetAsync<Texture2D> (

	"card.unity3d",
	"f001",
	(success, asset) => { //Callback

		Debug.Log ("GetAssetAsync");
		Debug.Log ("Success: " + success);
		Debug.Log ("Asset: " + asset);

		if (!success)
			return;

		Sprite sprite= Sprite.Create (asset, new Rect (0, 0, asset.width, asset.height), Vector2.zero, 1.0f);
		testSprite.sprite = sprite;

	}
);

About

This is event-driven loader of unity5 AssetBundleSystem demo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%