Unityでzstd圧縮と解凍 Unityでfacebookのzstdを利用して圧縮と解凍を行う。 CompressLevelは1(低圧縮)~22(高圧縮)を選択可能 今回はC#でzstdを使うために https://github.com/bp74/Zstandard.Net を利用した。 Unityで使用するためにZstandard.Netをクローンし、VisualStudioでビルド Zstandard.Net.dll libzstd.dll をUnityプロジェクトのPluginフォルダにインポ UnityのEditor拡張で毎フレームRepaintする よく忘れるのでメモ public class TestEditor : Editor{ private void OnEnable() => EditorApplication.update += OnUpdate; private
![mikinel|note](https://cdn-ak-scissors.b.st-hatena.com/image/square/e61791b4e87575147cc8ef8d6694aa8dbf1ad07f/height=288;version=1;width=512/https%3A%2F%2Fassets.st-note.com%2Fproduction%2Fuploads%2Fimages%2F117997401%2Fprofile_30ae53207abfcc2f2eb42af762c0e677.png%3Ffit%3Dbounds%26format%3Djpeg%26quality%3D85%26width%3D330)