{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method CreateMarker | Timeline | 1.5.0-preview.5
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Method CreateMarker

    CreateMarker(Type, double)

    Creates a marker of the requested type, at a specific time, and adds the marker to the current asset.

    Declaration
    public IMarker CreateMarker(Type type, double time)
    Parameters
    Type Name Description
    Type type

    The type of marker.

    double time

    The time where the marker is created.

    Returns
    Type Description
    IMarker

    Returns the instance of the created marker.

    Remarks

    All markers that implement IMarker and inherit from ScriptableObject are supported. Markers that implement the INotification interface cannot be added to tracks that do not support notifications. CreateMarker will throw an

    InvalidOperationException
    with tracks that do not support notifications if
    type
    implements the INotification interface.
    See Also
    Marker
    supportsNotifications

    CreateMarker<T>(double)

    Creates a marker of the requested type, at a specific time, and adds the marker to the current asset.

    Declaration
    public T CreateMarker<T>(double time) where T : ScriptableObject, IMarker
    Parameters
    Type Name Description
    double time

    The time where the marker is created.

    Returns
    Type Description
    T

    Returns the instance of the created marker.

    Type Parameters
    Name Description
    T
    Remarks

    All markers that implement IMarker and inherit from ScriptableObject are supported. CreateMarker will throw an

    InvalidOperationException
    with tracks that do not support notifications if
    T
    implements the INotification interface.
    See Also
    Marker
    supportsNotifications
    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)