Skip to content

Instantly share code, notes, and snippets.

@esperecyan
Last active September 11, 2020 02:04
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 esperecyan/996e0b2af62f4ac6e0a336597836750e to your computer and use it in GitHub Desktop.
Save esperecyan/996e0b2af62f4ac6e0a336597836750e to your computer and use it in GitHub Desktop.
『NeverCompressAssetsOnImport.cs』 Put this script into “Assets/Editor” folder. https://cdn.discordapp.com/attachments/511077066628661271/753798077176873010/NeverCompressAssetsOnImport.unitypackage
// Author: 100の人
// Distribution URL: https://gist.github.com/esperecyan/996e0b2af62f4ac6e0a336597836750e
// SPDX-License-Identifier: CC0-1.0
using UnityEditor;
namespace Esperecyan.Unity
{
public class NeverCompressAssetsOnImport
{
[InitializeOnLoadMethod]
private static void Run()
{
Unsupported.SetApplicationSettingCompressAssetsOnImport(false);
}
}
}
fileFormatVersion: 2
guid: ce847e96beb2afc44be8f26c0688fad5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment