文档

Unity Engine

Unity Engine

Remove(SpriteAtlas, Object[])

Remove objects from the atlas's packable objects list.
阅读时间1 分钟最后更新于 1 个月前

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.