Method IsLocalizationGroup
IsLocalizationGroup(AddressableAssetGroup, Object, AddressableAssetSettings)
Returns true if the group is one that this resolver manages.
Declaration
public virtual bool IsLocalizationGroup(AddressableAssetGroup group, Object asset, AddressableAssetSettings aaSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| AddressableAssetGroup | group | The group to test. |
| Object | asset | The asset being evaluated. |
| AddressableAssetSettings | aaSettings | The Addressable asset settings. |
Returns
| Type | Description |
|---|---|
| bool |
Remarks
A group is managed when it was created by a localization resolver, is the SharedGroup, a group assigned through AddLocaleGroup(LocaleIdentifier, AddressableAssetGroup), or a group whose name matches one produced by GetExpectedGroupName(IList<LocaleIdentifier>, Object, AddressableAssetSettings) for a known Locale. Created groups carry a marker schema, so they stay recognized after the name pattern or the project locales change. AddToGroup(Object, IList<LocaleIdentifier>, AddressableAssetSettings, bool) treats assets in groups that no localization resolver manages as user owned and leaves them in place. The group name pattern may reference the asset.