文档

Unity Engine

Unity Engine

textureUnloaded

Unity raises this event when it unloads a CustomRenderTexture.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Event
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static event Action<CustomRenderTexture> textureUnloaded

Remarks

Use this event to keep track of CustomRenderTexture unloading. This is useful if you are writing your own CustomRenderTexture update loop.
Additional Resources: disableBuiltinCustomRenderTextures.