Свойство | Тип | Описание | |
---|---|---|---|
Settings_AllowMuliSpritesOneSource | string | ||
Settings_DisableReadWriteEnabled | string | ||
Settings_SavedInstanceIDKey | string | ||
Settings_ScrollViewHeightKey | string | ||
Settings_ShowSpritesKey | string | ||
Settings_ThumbsHeightKey | string | ||
Settings_UseScrollViewKey | string | ||
Settings_UseSpriteThumbsKey | string |
Метод | Описание | |
---|---|---|
AssetSetFormat ( string path, TextureImporterFormat format ) : bool |
Sets the asset texture format.
|
|
AssetSetReadWriteEnabled ( string path, bool enabled, bool force ) : bool |
Sets the asset Read/Write enabled state.
|
|
CreateBlankTexture ( string path, bool alphaTransparency ) : bool |
Creates a blank atlas texture.
|
|
DoAssetReimport ( string path, ImportAssetOptions options ) : void |
Does asset reimport.
|
|
FilterResourcesForAtlasImport ( Object resources ) : Object[] |
Filters the resources for atlas import.
|
|
GetAllScenesNames ( ) : string[] |
Gets all scenes names.
|
|
GetAssetPath ( Object obj ) : string |
Gets the asset path of a object.
|
|
GetAssetPath ( |
Gets the asset path of a texture.
|
|
GetDirectoryAssets ( string path ) : Object[] |
Gets the assets in the specified directory.
|
|
GetEditorPrefBool ( string key ) : bool |
Gets the editor preference bool value with the specified key.
|
|
GetProjectPrefabComponents ( ) : UnityEngine.Component[] | ||
GetSubAssets ( Object obj ) : Object[] |
Gets the sub assets of an object.
|
|
HasSubAssets ( Object obj ) : bool |
Determines if the specified object has sub assets.
|
|
ImportAndConfigureAtlasTexture ( |
Imports and configures atlas texture.
|
|
ImportTexture ( string path, |
Imports a texture as asset.
|
|
IsDirectory ( string path ) : bool |
Determines if the specified path is directory.
|
|
IsMainAsset ( Object obj ) : bool |
Determines if the specified object is main asset.
|
|
LoadSprite ( |
Loads a sprite from a texture.
|
|
PrepareDefaultEditorPrefs ( ) : void |
Prepares the default editor preference values.
|
|
RemoveReadOnlyFlag ( string path ) : bool |
Removes the read only flag from the asset.
|
|
ReplaceReferences ( |
Replaces all the references in the supplied array (does not work with internal properties).
|
|
ReplaceReferencesInAllScenes ( List |
Replaces all the references in all scenes.
|
|
ReplaceReferencesInProject ( List |
Replaces all the references in the project (does not work with internal properties).
|
|
ReplaceReferencesInScene ( List |
Replaces all the references in the scene (does not work with internal properties).
|
|
TextureSetReadWriteEnabled ( |
Sets the texture asset Read/Write enabled state.
|
Метод | Описание | |
---|---|---|
GetSpritesheetMeta ( |
Gets the spritesheet meta data for the specified name.
|
|
HasSpritesheetMeta ( |
Determines if the specified name has spritesheet meta data.
|
public static AssetSetFormat ( string path, TextureImporterFormat format ) : bool | ||
path | string | Path. |
format | TextureImporterFormat | Format. |
Результат | bool |
public static AssetSetReadWriteEnabled ( string path, bool enabled, bool force ) : bool | ||
path | string | Path. |
enabled | bool | If set to |
force | bool | If set to |
Результат | bool |
public static CreateBlankTexture ( string path, bool alphaTransparency ) : bool | ||
path | string | Asset Path. |
alphaTransparency | bool | If set to |
Результат | bool |
public static DoAssetReimport ( string path, ImportAssetOptions options ) : void | ||
path | string | Path. |
options | ImportAssetOptions | Options. |
Результат | void |
public static FilterResourcesForAtlasImport ( Object resources ) : Object[] | ||
resources | Object | Resources. |
Результат | Object[] |
public static GetAllScenesNames ( ) : string[] | ||
Результат | string[] |
public static GetAssetPath ( Object obj ) : string | ||
obj | Object | Object. |
Результат | string |
public static GetAssetPath ( |
||
texture | Texture. | |
Результат | string |
public static GetDirectoryAssets ( string path ) : Object[] | ||
path | string | Path. |
Результат | Object[] |
public static GetEditorPrefBool ( string key ) : bool | ||
key | string | Key. |
Результат | bool |
public static GetProjectPrefabComponents ( ) : UnityEngine.Component[] | ||
Результат | UnityEngine.Component[] |
public static GetSubAssets ( Object obj ) : Object[] | ||
obj | Object | Object. |
Результат | Object[] |
public static HasSubAssets ( Object obj ) : bool | ||
obj | Object | Object. |
Результат | bool |
public static ImportAndConfigureAtlasTexture ( |
||
targetTexture | Target texture. | |
sourceTexture | Source texture. | |
uvs | Uvs. | |
spritesImportData | SimpleSpritePackerEditor.SPSpriteImportData | |
Результат | bool |
public static ImportTexture ( string path, |
||
path | string | Path. |
texture | Texture. | |
Результат | bool |
public static IsDirectory ( string path ) : bool | ||
path | string | Path. |
Результат | bool |
public static IsMainAsset ( Object obj ) : bool | ||
obj | Object | Object. |
Результат | bool |
public static LoadSprite ( |
||
mainTexture | Main texture. | |
name | string | Name. |
Результат |
public static PrepareDefaultEditorPrefs ( ) : void | ||
Результат | void |
public static RemoveReadOnlyFlag ( string path ) : bool | ||
path | string | Path. |
Результат | bool |
public static ReplaceReferences ( |
||
components | ||
find | Find. | |
replaceWith | Replace with. | |
spriteRenderersOnly | bool | If set to |
Результат | int |
public static ReplaceReferencesInAllScenes ( List |
||
spriteInfoList | List |
Sprite info list. |
replaceMode | ||
spriteRenderersOnly | bool | If set to |
skipCurrent | bool | If set to |
Результат | int |
public static ReplaceReferencesInProject ( List |
||
spriteInfoList | List |
Sprite info list. |
replaceMode | ||
spriteRenderersOnly | bool | If set to |
Результат | int |
public static ReplaceReferencesInScene ( List |
||
spriteInfoList | List |
Sprite info list. |
replaceMode | ||
spriteRenderersOnly | bool | If set to |
Результат | int |
public static TextureSetReadWriteEnabled ( |
||
texture | Texture. | |
enabled | bool | If set to |
force | bool | If set to |
Результат | bool |
public static string Settings_AllowMuliSpritesOneSource | ||
Результат | string |
public static string Settings_DisableReadWriteEnabled | ||
Результат | string |
public static string Settings_SavedInstanceIDKey | ||
Результат | string |
public static string Settings_ScrollViewHeightKey | ||
Результат | string |
public static string Settings_ShowSpritesKey | ||
Результат | string |
public static string Settings_ThumbsHeightKey | ||
Результат | string |
public static string Settings_UseScrollViewKey | ||
Результат | string |