Class TrackedMeshFilter
Tracks and applies variant changes to a MeshFilter.
Inherited Members
Namespace: UnityEngine.Localization.PropertyVariants.TrackedObjects
Syntax
[Serializable]
[DisplayName("Mesh Filter", null)]
[CustomTrackedObject(typeof(MeshFilter), false)]
public class TrackedMeshFilter : TrackedObject, ISerializationCallbackReceiver
Methods
ApplyLocale(Locale, Locale)
Apply the TrackedProperties for variantLocale
.
If a value does not exist for this locale then the value for defaultLocale
is used as a fallback.
Declaration
public override AsyncOperationHandle ApplyLocale(Locale variantLocale, Locale defaultLocale)
Parameters
Type | Name | Description |
---|---|---|
Locale | variantLocale | The chosen variant to apply to Target. |
Locale | defaultLocale | The fallback Locale to use when a value does not exist for this variant. |
Returns
Type | Description |
---|---|
AsyncOperationHandle |
Overrides
CanTrackProperty(String)
Can be used to reject certain properties.
Declaration
public override bool CanTrackProperty(string propertyPath)
Parameters
Type | Name | Description |
---|---|---|
String | propertyPath |
Returns
Type | Description |
---|---|
Boolean |