Skip to content

UnityMetadataBase<TValue>

Inherits UnityMetadataBase

Protected Functions

void

OnUpdated()

Raises the Updated event to notify listeners that the metadata has been updated, passing the new value as an argument. This method can be called by derived classes when the metadata value changes, allowing external components to react to updates with knowledge of the new value.

Properties

TValue

Value

[get, ]

The value associated with this metadata. The type and meaning of this value is determined by the specific metadata implementation.

TValue

IMetadata<TValue>.Value

[get, ]

Events

Action

(TValue)

Updated