Unofficial API for controlling asset store in run-time
- Download assets
- Retrieve assets
- Get overview of asset
- Sign in
// console version
static void Main(string[] args)
{
UnityAssetstoreUser user = new UnityAssetstoreUser();
// login to assetstore account
user.UserLogin("your ID", "your password");
// get assets can be downloaded
List<int> ids = user.GetDownloadableAssets();
UnityAssetstoreAsset asset = new UnityAssetstoreAsset();
// download asset
var t = aa.GetDownloadAssetTaskAsync(ids[0]);
Task.WaitAll(t);
}
AssetstoreContentOverviewWrapper
Return Type: AssetstoreUserWrapper
Login to Assetstore account corresponding to id and password.
Return Type: List<int>
Get asset ids that can be downloaded.
Return Type: AssetstoreUserOverviewWrapper
Get user overview corresponding to user id (not email).
Return Type: AssetstoreContentOverviewWrapper
Return Type: List<AssetstoreContentOverviewWrapper>
Return Type: AssetstoreContentWrapper
Return Type: List<AssetstoreContentWrapper>
Return Type: Task<byte[]>
Download asset asynchronously to appdata folder. (in window case, C:\Users\Username\AppData\Roaming\Unity\Asset Store-5.x)