GamePropertyTHasLocalValue Property |
Namespace: DigitalRune.Game
If no value was set for a property, then the property has the same value as in the Template of the game object. If no template is set, then the property uses the DefaultValue defined in the GamePropertyMetadataT. In these cases the property does not have a local value.
If a value was set using a SetValue method of the GameObject, then the property has a local value - even if the new value is the same as the default value!
A local value can only be removed using the Reset method.