プロジェクト

概要
Auto 9 slice sprite generator on Unity
ゲーム・エミュレーター計測したスター増加
- 24時間
- -1
- 7日間
- -2
- 15日間
- -2
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルAuto9Slicer
Auto 9 slice sprite generator on Unity.

Instructions
- Package Manager
https://github.com/kyubuns/Auto9Slicer.git?path=Assets/Auto9Slicer
Simple Use
Create Auto9SliceTester. Assets > Create > Auto 9Slice > Tester

Click Run to automatically slice the images in the same directory.

From Script
Add it to your EditorScript so that it will be executed at your desired timing.
var slicedTexture = Auto9Slicer.Slicer.Slice(texture, SliceOptions.Default);
textureImporter.spriteBorder = slicedTexture.Border.ToVector4();
File.WriteAllBytes(filePath, slicedTexture.Texture.EncodeToPNG());
Requirements
- Requires Unity2019.4 or later
License
MIT License (see LICENSE)
関連プロジェクトを探す
読み込み中…