public void Release() { if (gifDrawer != null) { gifDrawer.Clean(); gifDrawer = null; } if (texture) { texture = null; } foreach (var item in subdatas) { item.Release(); } subdatas.Clear(); }
public override void OnDisable() { base.OnDisable(); gifDrawer.Clean(); }