Interface IMarker
Interface implemented by markers.
Namespace: UnityEngine.Timeline
Syntax
public interface IMarker
Remarks
A marker is a point in time.
Properties
parent
The track that contains the marker.
Declaration
TrackAsset parent { get; }
Property Value
Type | Description |
---|---|
TrackAsset |
time
The time set for the marker, in seconds.
Declaration
double time { get; set; }
Property Value
Type | Description |
---|---|
Double |
Methods
Initialize(TrackAsset)
This method is called when the marker is initialized.
Declaration
void Initialize(TrackAsset parent)
Parameters
Type | Name | Description |
---|---|---|
TrackAsset | parent | The track that contains the marker. |
Remarks
This method is called after each deserialization of the Timeline Asset.