-
-
Save tsubaki/2f309a6efe653619308b7dcc49799651 to your computer and use it in GitHub Desktop.
Player圧縮
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
public class BuildCompressedPlayer { | |
[MenuItem("Build/BuildPlayer")] | |
static void Build() | |
{ | |
BuildPipeline.BuildPlayer ( | |
EditorBuildSettings.scenes, "export.apk", | |
BuildTarget.Android, | |
BuildOptions.CompressWithLz4); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment