UnityMetadataBase
Inherits MonoBehaviour
Public Member Functions
bool
void
Initializes the metadata object by setting up any necessary state or configuration. This method should be called before using the metadata object to ensure it is properly configured.
Protected Functions
void
Raises the Updated event to notify listeners that the metadata has been updated. This method can be called by derived classes when the metadata value changes, allowing external components to react to updates.
void
Unity lifecycle method. Initializes the effect when the GameObject is first loaded. This ensures that the effect is ready to handle requests as soon as it becomes active in the scene.
Properties
string
Key
[get, ]
The primary ID associated with this metadata.
object?
IMetadata.Value
[get, ]
CrowdControlBehavior
CrowdControlBehavior
[get, set]
Gets the Crowd Control behavior component that provides access to game state and configuration.
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, ]
