public static void UnloadAllImageAssets() { foreach (var i in Media.ImageList) { Agk.DeleteImage(i.ResourceNumber); } Media.ImageList.Clear(); }
public void UnloadAsset() { Media.ImageList.Remove(this); Agk.DeleteImage(this.ResourceNumber); }