{!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} Class SaveDuringPlay | Cinemachine | 2.6.0
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class SaveDuringPlay

    For all registered object types, record their state when exiting Play Mode, and restore that state to the objects in the scene. This is a very limited implementation which has not been rigorously tested with many objects types. It's quite possible that not everything will be saved.

    This class is expected to become obsolete when Unity implements this functionality in a more general way.

    To use this class, drop this script into your project, and add the [SaveDuringPlay] attribute to your class.

    Note: if you want some specific field in your class NOT to be saved during play, add a property attribute whose class name contains the string "NoSaveDuringPlay" and the field will not be saved.

    Inheritance
    object
    SaveDuringPlay
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: SaveDuringPlay
    Assembly: solution.dll
    Syntax
    [InitializeOnLoad]
    public class SaveDuringPlay

    Fields

    Name Description
    OnHotSave

    If you need to get notified before state is collected for hotsave, this is the place

    kEnabledKey

    Properties

    Name Description
    Enabled
    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)