Class PSDImporterEditor
Inspector for PSDImporter
Inheritance
PSDImporterEditor
Inherited Members
UnityEditor.AssetImporters.AssetImporterEditor.assetTargets
UnityEditor.AssetImporters.AssetImporterEditor.assetTarget
UnityEditor.AssetImporters.AssetImporterEditor.assetSerializedObject
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[CustomEditor(typeof(PSDImporter))]
[MovedFrom("UnityEditor.Experimental.AssetImporters")]
public class PSDImporterEditor : ScriptedImporterEditor, IPreviewable, IToolModeOwner, ITexturePlatformSettingsDataProvider
Properties
showImportedObject
Override of AssetImporterEditor.showImportedObject
The property always returns false so that imported objects does not show up in the Inspector.
Declaration
public override bool showImportedObject { get; }
Property Value
Overrides
spriteImportMode
Declaration
public SpriteImportMode spriteImportMode { get; }
Property Value
textureType
Declaration
public TextureImporterType textureType { get; }
Property Value
textureTypeHasMultipleDifferentValues
Declaration
public bool textureTypeHasMultipleDifferentValues { get; }
Property Value
Methods
Apply()
Implementation of AssetImporterEditor.Apply
Declaration
protected override void Apply()
Overrides
DoesSourceTextureHaveAlpha(Int32)
Declaration
public bool DoesSourceTextureHaveAlpha(int v)
Parameters
| Type |
Name |
Description |
| Int32 |
v |
|
Returns
GetImporterSettings(Int32, TextureImporterSettings)
Declaration
public void GetImporterSettings(int i, TextureImporterSettings settings)
Parameters
GetPlatformTextureSettings(Int32, String)
Declaration
public TextureImporterPlatformSettings GetPlatformTextureSettings(int i, string name)
Parameters
Returns
GetTargetCount()
Declaration
public int GetTargetCount()
Returns
HasModified()
Declaration
public override bool HasModified()
Returns
Overrides
IsSourceTextureHDR(Int32)
Declaration
public bool IsSourceTextureHDR(int v)
Parameters
| Type |
Name |
Description |
| Int32 |
v |
|
Returns
OnEnable()
Implementation of AssetImporterEditor.OnEnable
Declaration
public override void OnEnable()
Overrides
OnInspectorGUI()
Implementation of AssetImporterEditor.OnInspectorGUI
Declaration
public override void OnInspectorGUI()
Overrides
ResetValues()
Declaration
protected override void ResetValues()
Overrides
SetPlatformTextureSettings(Int32, TextureImporterPlatformSettings)
Declaration
public void SetPlatformTextureSettings(int i, TextureImporterPlatformSettings platformSettings)
Parameters
ShowPresetSettings()
Declaration
public bool ShowPresetSettings()
Returns