Documentation

Unity Engine

Unity Engine

Remove(SpriteAtlas, Object[])

Remove objects from the atlas's packable objects list.
Read time 1 minuteLast updated 2 months ago

Definition

public static void Remove(this SpriteAtlas spriteAtlas, Object[] objects)

Parameters

spriteAtlas


objects

Object in the array you wish to remove.

Remarks

If there are multiple of the exact same Object stored inside the atlas, all copies will be removed at once.
Additional Resources: SpriteAtlasExtensions.Add.