2D Toolkit Forum

2D Toolkit => Support => Topic started by: fsadeq on April 08, 2015, 07:46:49 pm

Title: Minor bug with Unity 5
Post by: fsadeq 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.
Title: Re: Minor bug with Unity 5
Post by: fsadeq on April 30, 2015, 05:10:34 pm
Hate to bump, but I must  :-\
Title: Re: Minor bug with Unity 5
Post by: unikronsoftware 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)

Title: Re: Minor bug with Unity 5
Post by: fsadeq on May 02, 2015, 12:58:31 am
Thanks!