Skip to content

Instantly share code, notes, and snippets.

View chatpongs's full-sized avatar

Chatpong Suteesuksataporn chatpongs

View GitHub Profile
@chatpongs
chatpongs / CloudBundle.cs
Last active April 1, 2019 21:59
Unity C# script to let Unity Cloud Build create bundles and upload them to some server
using System.IO;
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using AssetBundles; // Require AssetBundleManager available here https://www.assetstore.unity3d.com/en/#!/content/45836
// Place this file in Editor filder
public class CloudBundle{
[PostProcessBuildAttribute(1)]
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) {