文档

Unity Engine

Unity Engine

SetTextureDirty(IPanel, Texture2D)

Notifies the dynamic atlas of the panel that the content of the provided texture has changed. If the dynamic atlas contains the texture, it will update it.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void SetTextureDirty(this IPanel panel, Texture2D texture)

Parameters

panel

The current panel

texture

The texture whose content has changed.