SpriteAtlasAsset stores inputs for generating SpriteAtlas and generates atlas textures on Import.
isVariant | Checks whether the Sprite Atlas Importer set the Sprite Atlas as a Variant. |
Add | 将一组资源添加到可打包对象列表中。 |
GetMasterAtlas | Gets the Master Sprite Atlas for the given Variant Sprite Atlas. |
GetPackingSettings | Gets the current SpriteAtlasPackingSettings to use when packing SpriteAtlas. |
GetPlatformSettings | Gets the platform settings of the build target specified. |
GetTextureSettings | Gets the SpriteAtlasTextureSettings of packed Textures generated by this SpriteAtlasAsset. |
IsIncludeInBuild | Checks whether this Sprite Atlas is marked to be included in the build. |
Remove | Removes objects from the Atlas's packable objects list. |
SetIncludeInBuild | Defines if the SpriteAtlas's packed Textures that the Importer generates are included in the build with the Sprite after packing is done. |
SetIsVariant | Sets whether this Sprite Atlas is a Variant or not. |
SetMasterAtlas | Sets an Atlas to be the Master Atlas. |
SetPackingSettings | Sets the SpriteAtlasPackingSettings to use when packing this SpriteAtlas. |
SetPlatformSettings | 设置平台特定的设置。 |
SetTextureSettings | Sets the SpriteAtlasTextureSettings for the packed Texture generated by this SpriteAtlas. |
SetVariantScale | Sets the value used to downscale the Master's Texture. |
Load | Loads SpriteAtlasAsset at the given path. File extension of SpriteAtlasAsset is *.spriteatlasv2. |
Save | Saves SpriteAtlasAsset to disk. File extension of SpriteAtlasAsset is *.spriteatlasv2. |
GetInstanceID | Gets the instance ID of the object. |
ToString | 返回对象的名称。 |
Destroy | 移除 GameObject、组件或资源。 |
DestroyImmediate | 立即销毁对象 /obj/。强烈建议您改用 Destroy。 |
DontDestroyOnLoad | 在加载新的 Scene 时,请勿销毁 Object。 |
FindObjectOfType | 返回第一个类型为 type 的已加载的激活对象。 |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | 克隆 original 对象并返回克隆对象。 |
bool | 该对象是否存在? |
operator != | 比较两个对象是否引用不同的对象。 |
operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |