Class PSDImporterEditor | 2D PSD Importer | 4.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class PSDImporterEditor

    Inspector for PSDImporter

    Inheritance
    Object
    Object
    ScriptableObject
    Editor
    AssetImporterEditor
    ScriptedImporterEditor
    PSDImporterEditor
    Inherited Members
    AssetImporterEditor.InitializeExtraDataInstance(Object, Int32)
    AssetImporterEditor.OnDisable()
    AssetImporterEditor.Awake()
    AssetImporterEditor.CanApply()
    AssetImporterEditor.ApplyAndImport()
    AssetImporterEditor.RevertButton()
    AssetImporterEditor.ApplyButton()
    AssetImporterEditor.OnApplyRevertGUI()
    AssetImporterEditor.ApplyRevertGUI()
    UnityEditor.AssetImporters.AssetImporterEditor.assetTargets
    UnityEditor.AssetImporters.AssetImporterEditor.assetTarget
    UnityEditor.AssetImporters.AssetImporterEditor.assetSerializedObject
    AssetImporterEditor.extraDataTargets
    AssetImporterEditor.extraDataTarget
    AssetImporterEditor.extraDataSerializedObject
    AssetImporterEditor.needsApplyRevert
    AssetImporterEditor.extraDataType
    AssetImporterEditor.useAssetDrawPreview
    Editor.CreateEditorWithContext(Object[], Object, Type)
    Editor.CreateEditorWithContext(Object[], Object)
    Editor.CreateCachedEditorWithContext(Object, Object, Type, Editor)
    Editor.CreateCachedEditorWithContext(Object[], Object, Type, Editor)
    Editor.CreateCachedEditor(Object, Type, Editor)
    Editor.CreateCachedEditor(Object[], Type, Editor)
    Editor.CreateEditor(Object)
    Editor.CreateEditor(Object, Type)
    Editor.CreateEditor(Object[])
    Editor.CreateEditor(Object[], Type)
    Editor.DrawPropertiesExcluding(SerializedObject, String[])
    Editor.DrawDefaultInspector()
    Editor.Repaint()
    Editor.CreateInspectorGUI()
    Editor.RequiresConstantRepaint()
    Editor.DrawHeader()
    Editor.OnHeaderGUI()
    Editor.ShouldHideOpenButton()
    Editor.DrawFoldoutInspector(Object, Editor)
    Editor.HasPreviewGUI()
    Editor.GetPreviewTitle()
    Editor.RenderStaticPreview(String, Object[], Int32, Int32)
    Editor.OnPreviewGUI(Rect, GUIStyle)
    Editor.OnInteractivePreviewGUI(Rect, GUIStyle)
    Editor.OnPreviewSettings()
    Editor.GetInfoString()
    Editor.DrawPreview(Rect)
    Editor.ReloadPreviewInstances()
    Editor.UseDefaultMargins()
    Editor.Initialize(Object[])
    Editor.MoveNextTarget()
    Editor.ResetTarget()
    Editor.target
    Editor.targets
    Editor.serializedObject
    Editor.finishedDefaultHeaderGUI
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEditor.U2D.PSD
    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
    Type Description
    Boolean

    false

    Overrides
    AssetImporterEditor.showImportedObject

    spriteImportMode

    Declaration
    public SpriteImportMode spriteImportMode { get; }
    Property Value
    Type Description
    SpriteImportMode

    textureType

    Declaration
    public TextureImporterType textureType { get; }
    Property Value
    Type Description
    TextureImporterType

    textureTypeHasMultipleDifferentValues

    Declaration
    public bool textureTypeHasMultipleDifferentValues { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Apply()

    Implementation of AssetImporterEditor.Apply

    Declaration
    protected override void Apply()
    Overrides
    AssetImporterEditor.Apply()

    DoesSourceTextureHaveAlpha(Int32)

    Declaration
    public bool DoesSourceTextureHaveAlpha(int v)
    Parameters
    Type Name Description
    Int32 v
    Returns
    Type Description
    Boolean

    GetImporterSettings(Int32, TextureImporterSettings)

    Declaration
    public void GetImporterSettings(int i, TextureImporterSettings settings)
    Parameters
    Type Name Description
    Int32 i
    TextureImporterSettings settings

    GetPlatformTextureSettings(Int32, String)

    Declaration
    public TextureImporterPlatformSettings GetPlatformTextureSettings(int i, string name)
    Parameters
    Type Name Description
    Int32 i
    String name
    Returns
    Type Description
    TextureImporterPlatformSettings

    GetTargetCount()

    Declaration
    public int GetTargetCount()
    Returns
    Type Description
    Int32

    HasModified()

    Declaration
    public override bool HasModified()
    Returns
    Type Description
    Boolean
    Overrides
    AssetImporterEditor.HasModified()

    IsSourceTextureHDR(Int32)

    Declaration
    public bool IsSourceTextureHDR(int v)
    Parameters
    Type Name Description
    Int32 v
    Returns
    Type Description
    Boolean

    OnEnable()

    Implementation of AssetImporterEditor.OnEnable

    Declaration
    public override void OnEnable()
    Overrides
    AssetImporterEditor.OnEnable()

    OnInspectorGUI()

    Implementation of AssetImporterEditor.OnInspectorGUI

    Declaration
    public override void OnInspectorGUI()
    Overrides
    AssetImporterEditor.OnInspectorGUI()

    ResetValues()

    Declaration
    protected override void ResetValues()
    Overrides
    AssetImporterEditor.ResetValues()

    SetPlatformTextureSettings(Int32, TextureImporterPlatformSettings)

    Declaration
    public void SetPlatformTextureSettings(int i, TextureImporterPlatformSettings platformSettings)
    Parameters
    Type Name Description
    Int32 i
    TextureImporterPlatformSettings platformSettings

    ShowPresetSettings()

    Declaration
    public bool ShowPresetSettings()
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023