Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created March 23, 2017 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/2f309a6efe653619308b7dcc49799651 to your computer and use it in GitHub Desktop.
Save tsubaki/2f309a6efe653619308b7dcc49799651 to your computer and use it in GitHub Desktop.
Player圧縮
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