Releases: CyberAgentGameEntertainment/SmartAddresser
Releases · CyberAgentGameEntertainment/SmartAddresser
1.1.0
Release Notes
New Features
- New Asset Filters
- Address Filter: Filters assets based on their address pattern (not available in AddressRule).
- Addressable Group Filter: Filters assets based on the group they belong to (not available in AddressRule).
- New Providers
- Address Based Label/Version Provider: Generates a label/version from the asset's address.
- Addressable Asset Group Name Based Label/Version Provider: Generates a label/version from the asset's group name.
Breaking Changes and Migration
- The Asset Filter now has additional arguments. If you have created a custom asset filter, please add the new arguments as shown below:
// Before
bool IsMatch(string assetPath, Type assetType, bool isFolder)
// After
bool IsMatch(string assetPath, Type assetType, bool isFolder, string address, AddressableAssetGroup addressableAssetGroup)
The Label Provider / Version Provider now has additional arguments. If you have created a custom provider, please add the new arguments as shown below:// Before
string Provide(string assetPath, Type assetType, bool isFolder)
// After
string Provide(string assetPath, Type assetType, bool isFolder, string address, AddressableAssetGroup addressableAssetGroup)リリースノート
新機能
- 新しいAsset Filter
- Address Filter: アドレスパターンに基づいてアセットをフィルタリング(AddressRuleでは使用不可)
- Addressable Group Filter: アセットが所属するグループに基づいてフィルタリング(AddressRuleでは使用不可)
- 新しいProvider
- Address Based Label/Version Provider: アセットのアドレスからラベル/バージョンを生成
- Addressable Asset Group Name Based Label/Version Provider: グループ名からラベル/バージョンを生成
破壊的変更とマイグレーション
- Asset Filterに以下のように引数が増えたので、カスタムアセットフィルタを作っている場合は引数を追加してください
// 旧
bool IsMatch(string assetPath, Type assetType, bool isFolder)
// 新
bool IsMatch(string assetPath, Type assetType, bool isFolder, string address, AddressableAssetGroup addressableAssetGroup)- Label Provider / Version Providerに以下のように引数が増えたので、カスタムプロバイダーを作っている場合は引数を追加してください
// 旧
string Provide(string assetPath, Type assetType, bool isFolder)
// 新
string Provide(string assetPath, Type assetType, bool isFolder, string address, AddressableAssetGroup addressableAssetGroup)1.0.10
What's Changed
- Add CompositeLayoutRuleData feature. by @hkmt-mmy in #66
- Make it easier to reorder AssetGroup and AssetFilter. by @hkmt-mmy in #67
- Optimize DependentObjectBasedAssetFilter by Using HashSet and Avoiding Redundant Dependency Collection by @CeejayZSmith in #69
- Add an option to ExtensionBasedAssetFilter and TypeBasedAssetFilter to match when they do not find a match. by @Haruma-K in #74
- Fix: CustomAssetFilter was returning true when no assetFilter was configured. by @Haruma-K in #75
New Contributors
- @hkmt-mmy made their first contribution in #66
- @CeejayZSmith made their first contribution in #69
Full Changelog: 1.0.9...1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
- Optimized performance during the 'Apply' process.
- Ensured that the order of existing entries does not change when 'Apply' is used.
- Made assets selectable when clicked in LayoutViewer.
- Apply時のパフォーマンスを最適化しました
- Applyした時に既存エントリの順番が変わらないようにしました
- LayoutViewerでアセットをクリックした時に選択されるようにしました
- Special Thanks: @Rapilias @shunsuke-saito-mummy
v1.0.4
- ObjectFilterにフォルダを指定した時に同じ名前を含む他のフォルダも対象になる不具合を修正
- Fixed a bug where specifying a folder in ObjectFilter also targets other folders with the same name.
- Special Thanks: @Rapilias
- Related Issue: https://github.com/CyberAgentGameEntertainment/SmartAddresser/issues
