文档

Unity Engine

Download Unity

Unity Engine

PlayModeScopeAutoCleanup

Obsolete. Use DelegateAutoCleanup.CreateForPlayMode instead. Previously used by the source generator to reset static variables when entering or exiting Play mode with domain reload disabled.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Deprecated. PlayModeScopeAutoCleanup is no longer emitted by the source generator. Use DelegateAutoCleanup.CreateForPlayMode(...) instead.
public abstract class PlayModeScopeAutoCleanup : ClassAutoCleanup