Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 8 days ago

Definition

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

Parameters

panel

The current panel

texture

The texture whose content has changed.