Search Unity

How to rename a sprite in assets setting?

Discussion in 'Project Tiny' started by AllenDK, Jan 19, 2019.

  1. AllenDK

    AllenDK

    Joined:
    Mar 2, 2017
    Posts:
    3
    This is the sprite's origin name "bird_blue_0".
    1.png
    And this is it's name in assets setting, "bird_0";
    2.png


    But how to rename it?
    In this demo, it's used as skin sprite, so it's quite necessary to know how.
     
  2. etienne_unity

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    54
    Hi @AllenDK

    Unfortunately, the only way to change exported asset names at the moment is to edit the .utproject file and rename the asset. We're tracking this workflow issue and will reply to this thread once this is fixed.

    Matching lines in FlyingYolk:
    Code (JavaScript):
    1.     "Assets": [{
    2.         "Name": "bg"
    3.     }, {}, {
    4.         "Name": "bg",
    5.         "Object": { "$TypeId": 10, "Guid": "1f5fe83ba337c904994be4e7a0233c9f", "FileId": 21300000, "Type": 3 }
    6.     }, {
    7.         "Name": "bg",
    8.         "Object": { "$TypeId": 10, "Guid": "1f5fe83ba337c904994be4e7a0233c9f", "FileId": 21300002, "Type": 3 }
    9.     }, {
    10.         "Name": "bird_0",
    11.         "Object": { "$TypeId": 10, "Guid": "1f5fe83ba337c904994be4e7a0233c9f", "FileId": 21300148, "Type": 3 }
    12.     }, {
    13.         "Name": "bird_1",
    14.         "Object": { "$TypeId": 10, "Guid": "1f5fe83ba337c904994be4e7a0233c9f", "FileId": 21300150, "Type": 3 }
    15.     }, {
    16.         "Name": "bird_2",
    17.         "Object": { "$TypeId": 10, "Guid": "1f5fe83ba337c904994be4e7a0233c9f", "FileId": 21300152, "Type": 3 }
    18.     }, { ...
     
  3. AllenDK

    AllenDK

    Joined:
    Mar 2, 2017
    Posts:
    3
    Good to know, thanks a lot.:)