{!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.3.5-preview.3
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.

    상속
    object
    SaveDuringPlay
    상속된 멤버
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: SaveDuringPlay
    어셈블리: solution.dll
    구문
    [InitializeOnLoad]
    public class SaveDuringPlay

    필드

    이름 설명
    OnHotSave

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

    kEnabledKey

    프로퍼티

    이름 설명
    Enabled
    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)