Class PSDImporterEditor
Inspector for PSDImporter
Inheritance
Inherited Members
Namespace: UnityEditor.U2D.PSD
Syntax
[CustomEditor(typeof(PSDImporter))]
[MovedFrom("UnityEditor.Experimental.AssetImporters")]
public class PSDImporterEditor : ScriptedImporterEditor, IPreviewable, IToolModeOwner, ITexturePlatformSettingsDataProvider
Properties
extraDataType
Override for AssetImporter.extraDataType
Declaration
protected override Type extraDataType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
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
Type | Description |
---|---|
Boolean | false |
Overrides
Methods
Apply()
Implementation of AssetImporterEditor.Apply
Declaration
protected override void Apply()
Overrides
DrawPreview(Rect)
Override from AssetImporterEditor to show custom preview.
Declaration
public override void DrawPreview(Rect r)
Parameters
Type | Name | Description |
---|---|---|
Rect | r | Preview Rect. |
Overrides
HasModified()
Override of AssetImporterEditor.HasModified.
Declaration
public override bool HasModified()
Returns
Type | Description |
---|---|
Boolean | Returns True if has modified data. False otherwise. |
Overrides
InitializeExtraDataInstance(Object, Int32)
Override for AssetImporter.InitializeExtraDataInstance
Declaration
protected override void InitializeExtraDataInstance(Object extraTarget, int targetIndex)
Parameters
Type | Name | Description |
---|---|---|
Object | extraTarget | Target object |
Int32 | targetIndex | Target index |
Overrides
OnDisable()
Implmentation of AssetImporterEditor.OnDisable
Declaration
public override void OnDisable()
Overrides
OnEnable()
Implementation of AssetImporterEditor.OnEnable
Declaration
public override void OnEnable()
Overrides
OnInspectorGUI()
Implementation of AssetImporterEditor.OnInspectorGUI
Declaration
public override void OnInspectorGUI()
Overrides
OnPreviewSettings()
Override from AssetImporterEditor to show preview settings.
Declaration
public override void OnPreviewSettings()
Overrides
RequiresConstantRepaint()
Override from AssetImporterEditor.RequiresConstantRepaint
Declaration
public override bool RequiresConstantRepaint()
Returns
Type | Description |
---|---|
Boolean | Returns true when in Layer Management tab for UI feedback update, false otherwise. |
Overrides
ResetValues()
Implementation of AssetImporterEditor.ResetValues.
Declaration
protected override void ResetValues()