I already know how to set a function for creating Asset Bundle in unity locally. First I set a local directory for Asset Bundle files, Then I upload the files to Dropbox and it works! But I was wondering if I could upload the Asset Bundle files to the server directly. I know about POST, But I don't know how to implement it in this case
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class AssetBundleCreate : Editor
{
[MenuItem("Assets/Create AssetBundle")]
static void CreateAssetBundle()
{
BuildPipeline.BuildAssetBundles(@"C:\Users\Heisenberg\Desktop\AssetBundle",BuildAssetBundleOptions.ChunkBasedCompression,BuildTarget.StandaloneWindows64);
}
}