UnityEngine
.Object[] Objs1
= Resources
.FindObjectsOfTypeAll(typeof(UIAtlas
));List
<UIAtlas
> totalAtluses
= new List
<UIAtlas
>();foreach(UnityEngine.Object tempObject in Objs1)
{
UIAtlas atlus = tempObject as UIAtlas;
Resources.UnloadAsset(atlus.spriteMaterial.mainTexture);
}