RuntimePanelUtils.SetTextureDirty

Declaration

public static void SetTextureDirty(UIElements.IPanel panel, Texture2D texture);

Parameters

panel The current panel
texture The texture whose content has changed.

Description

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.


Did you find this page useful? Please give it a rating: