Search Unity

PSDImporter API Request

Discussion in '2D Experimental Preview' started by Leo-Yaik, Mar 26, 2021.

  1. Leo-Yaik

    Leo-Yaik

    Unity Technologies

    Joined:
    Aug 13, 2014
    Posts:
    365
    Hi,

    We have seen several requests to have API access for the PSDImporter. We are looking at adding support for this.

    We would like to hear from you what APIs would like to have for the PSDImporter and how you will be using them.
     
  2. nickfourtimes

    nickfourtimes

    Joined:
    Oct 13, 2010
    Posts:
    196
    On our project, we'd like to be able to at least change the maxTextureSize of the generated sprite.
     
    Leo-Yaik likes this.
  3. tonytopper

    tonytopper

    Joined:
    Jun 25, 2018
    Posts:
    51
    I'd really like to hook into the API to get associated GameObjects and SpriteRenderers for the sprites that get imported.

    I've been trying to use OnPostprocessSprites, or any AssetPostprocessor really. Tracking down these objects from there has not been working and trying to figure it out has been a bigger time sink than I'd like.

    For now, what I am trying to do is set the sorting layer of the SpriteRenderer.

    I could see myself trying to use this to do some auto-rigging potentially and also adding some custom recoloring components to certain sprites. Or maybe even some deforming to get say a piece of clothing to overlay more perfectly.
     
    Leo-Yaik likes this.
unityunity