Skip to content

Commit

Permalink
doc: AssetBundle feature doc update.
Browse files Browse the repository at this point in the history
  • Loading branch information
sassembla committed Oct 15, 2017
1 parent 474f036 commit eabfaa3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 29 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ Assets/MiyamasuTestRunner/Runtime/Generated/GeneratedTestEntryPoints.cs.meta
applog
Assets/Autoya/Manifest/ShouldGitIgnore/Resources/BuildManifest.json
Assets/Autoya/Manifest/ShouldGitIgnore/Resources/BuildManifest.json.meta
Assembly-CSharp.sln
Assembly-CSharp.userprefs
Binary file modified Autoya.unitypackage
Binary file not shown.
32 changes: 3 additions & 29 deletions doc/gitpitch/modules/AssetBundle/PITCHME.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## 概要

AssetBundleを扱うモジュール。
AssetBundleに関してのAPIを提供する
AssetBundleに関しての機能を提供する

---

Expand Down Expand Up @@ -217,7 +217,7 @@ Asset使用前に部分的にDLを済ませたい、

+++

[PreloadList]()型のデータから
[PreloadList](https://github.com/sassembla/Autoya/blob/master/Assets/Autoya/AssetBundle/AssetBundlePreloader.cs#L21)型のデータから
複数のABを纏めてDLする機能を提供する。

```
Expand Down Expand Up @@ -297,30 +297,4 @@ Preloadを継続するかキャンセルするか、
タイミングで呼び出され、これからDLされる
AB名一覧にアクセスすることができる。

DL前に取得ABの総重量を計算する等に便利。
---

## APIS

この形式でAPI Doc作らん方がいいかも。
1. C#のコメント形式を書く
2. mdに変換して貼る とか。やってみよう。

* AssetBundleList
* DeleteAllStorageCache
* DiscardAssetBundleList
* DownloadAssetBundleListIfNeed
* GetAssetBundlesWeight
* GetCurrentAssetBundleListUrl
* IsAssetBundleExist
* IsAssetBundleFeatureReady
* IsAssetExist
* LoadAsset
* NotCachedBundleNames
* PostponedNewAssetBundleList
* Preload
* PreloadByList
* UnloadOnMemoryAsset
* UnloadOnMemoryAssetBundle
* UnloadOnMemoryAssetBundles

DL前に取得ABの総重量を計算する等に便利。

0 comments on commit eabfaa3

Please sign in to comment.