Advertisement
Guest User

Untitled

a guest
Jan 10th, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. using UnityEngine;
  2. using UnityEditor;
  3.  
  4. public class BuildABS : MonoBehaviour
  5. {
  6.     [MenuItem("Tools/Build Asset Bundles")]
  7.     static void BuildABs()
  8.     {
  9.         BuildPipeline.BuildAssetBundles("Assets/", BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows);
  10.     }
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement