Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Show 2d Sprite Thumnails in Editor
« previous
next »
Print
Pages: [
1
]
Author
Topic: Show 2d Sprite Thumnails in Editor (Read 5904 times)
kenglou.lee
2D Toolkit
Newbie
Posts: 22
Show 2d Sprite Thumnails in Editor
«
on:
February 09, 2015, 02:44:00 am »
Is there any way to show the thumnails indicate the sprite in Unity3d Editor Windows/Inspector?
Thanks.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Show 2d Sprite Thumnails in Editor
«
Reply #1 on:
February 09, 2015, 10:29:16 am »
The thumbnails are shown in the inspector when you select the sprite, what are you looking for specifically?
Logged
kenglou.lee
2D Toolkit
Newbie
Posts: 22
Re: Show 2d Sprite Thumnails in Editor
«
Reply #2 on:
February 10, 2015, 11:01:19 am »
I'm thinking to do an editor that show's a sprite prefab i selected with image for the sprite prefab with sprite Id.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Show 2d Sprite Thumnails in Editor
«
Reply #3 on:
February 10, 2015, 11:31:11 am »
You can see that in the inspector near the sprite selector, not in the preview window though. The preview window requires the mesh to be generated and that can't happen with prefabs.
Logged
kenglou.lee
2D Toolkit
Newbie
Posts: 22
Re: Show 2d Sprite Thumnails in Editor
«
Reply #4 on:
February 12, 2015, 07:03:41 am »
oh i see. so it is not possible to get the image if I'm trying to create a level editor with all the sprite prefab in right?
If that's the case I think i gotcha. Thank you Admin.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Show 2d Sprite Thumnails in Editor
«
Reply #5 on:
February 12, 2015, 09:22:10 am »
It IS possible but you'll have to dig through the code base. Look for tk2dSpriteGuiUtility.SpriteSelector
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Show 2d Sprite Thumnails in Editor