Class TrackedProperty<TPrimitive>
Represents a property for a primitive data type.
Implements
Namespace: UnityEngine .Localization.PropertyVariants .TrackedProperties
Assembly: Unity.Localization.dll
Syntax
[Serializable]
public class TrackedProperty<TPrimitive> : ITrackedPropertyValue<TPrimitive>, IStringProperty, ITrackedProperty, ISerializationCallbackReceiver
Type Parameters
Name | Description |
---|---|
TPrimitive | The primitive data type. |
Properties
Name | Description |
---|---|
Property |
The property's serialized property path. |
Methods
Name | Description |
---|---|
Convert |
|
Convert |
|
Get |
Attempts to find a value for the provided LocaleIdentifier or fallback. |
Get |
Attempts to find a value for the provided LocaleIdentifier. |
Get |
Returns the value for the LocaleIdentifier as a string representation. |
Get |
Returns the value for the LocaleIdentifier as a string representation, uses the fallback if a variant does not exist. |
Has |
Checks if the property contains an overriden value for the LocaleIdentifier. |
Remove |
|
Set |
Assigns a value for the chosen LocaleIdentifier. |
Set |
Assigns a value for the chosen LocaleIdentifier. |