Hello Guest

Author Topic: Minor bug with Unity 5  (Read 4463 times)

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Minor bug with Unity 5
« on: April 08, 2015, 07:46:49 pm »
I've noticed that I can no longer drag/drop folders from the Project view into a Sprite Collection when adding sprites. I definitely used to be able to do that, but now I have to drill into each sub-folder and manually make a selection of textures, then drag/drop that.

Thanks.

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Re: Minor bug with Unity 5
« Reply #1 on: April 30, 2015, 05:10:34 pm »
Hate to bump, but I must  :-\

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Minor bug with Unity 5
« Reply #2 on: April 30, 2015, 07:50:41 pm »
Sorry I must've missed this -
You can fix this by changing 2 lines in tk2dSpriteCollectionEditorPopup


Code: [Select]
IsValidDragPayload
  Object -> UnityEditor.DefaultAsset

DrawDropZone
  typeof(Object) -> typeof(UnityEditor.DefaultAsset)


fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Re: Minor bug with Unity 5
« Reply #3 on: May 02, 2015, 12:58:31 am »
Thanks!