class in UnityEditor.U2D
/
Implemented in:UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseMethod extensions for SpriteAtlas in Editor.
This method is only exposed to Editor scripts. It is not exposed during Play mode.
Add | Add an array of Assets to the packable objects list. |
GetPackables | Return all the current packed packables in the atlas. |
GetPackingSettings | Current SpriteAtlasPackingSettings to use when packing this SpriteAtlas. |
GetPlatformSettings | Returns the platform settings of the build target you specify. |
GetTextureSettings | Current SpriteAtlasTextureSettings of the packed texture generated by this SpriteAtlas. |
Remove | Remove objects from the atlas's packable objects list. |
SetIncludeInBuild | Define if this sprite atlas's packed texture is included in the build with the Sprite after packing is done. |
SetIsVariant | Sets whether this Sprite Atlas is a variant or not. |
SetMasterAtlas | Set an atlas to be the master atlas. |
SetPackingSettings | Set the SpriteAtlasPackingSettings to use when packing this SpriteAtlas |
SetPlatformSettings | Set the platform specific settings. |
SetTextureSettings | Set the SpriteAtlasTextureSettings for the packed texture generated by this SpriteAtlas. |
SetVariantScale | Set the value used to downscale the master's texture. |