Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[Released] 2D Layer highlighter tool

Discussion in 'Assets and Asset Store' started by ZenithCode, Mar 10, 2014.

  1. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    $StoreScreenshot.png

    Requires Unity 4.3 or higher

    This editor tool will help you visualize the 2D rendering layers better than ever before. An icon is shown next to all objects in the scene which have a sprite renderer component attached to them. The icon changes according to layer chosen and the 'order in layer' is also visible on the icon.

    The icons and text colour can be customized through an editor window.

    Features:
    - Show an icon in the hierarchy wherever you have a sprite renderer
    - Show layer order number in the hierarchy wherever you have a sprite renderer
    - 7 preset icons for the most common layers
    - Customize icons through an editor window
    - Customize order number font colour through editor window

    In version 1.3, Shuriken VFX particle systems can be sorted similar to any sprite renderer, that is by choosing the sorting layer and sorting order number. (This version is still awaiting asset store approval)

    Link to Asset Store





    $AssetStoreMediumIcon.jpg
    Online documentation and change log
     
    Last edited: Mar 15, 2014
  2. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
  3. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Last edited: Mar 17, 2014
  4. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Shuriken particle systems can be re-ordered in a 2D environment using this script.

    $VFX_Layer.jpg

    $VFX_Layer_Inspector.jpg
     
  5. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Last edited: Mar 27, 2014
  6. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Free for 1 week! Get your copy now.

    Please leave a review on the asset store.
    $FREE.jpg

    THANK YOU!!
     
  7. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Vesion 1.5 is now available on the Unity asset store. Anyone on version 1.4, please make sure you update to this version to fix a bug on VFXSorter class.

    Thanks.
    Zenith Code
     
  8. p6r

    p6r

    Joined:
    Nov 6, 2010
    Posts:
    1,146
    Thanks a lot for sharing...
    Great idea !

    6R
     
  9. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Thanks p6r!

    Glad you like it! :)
     
  10. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Version 1.61 is now available on the asset store.

    A new feature has been added in this version. Instead of creating a custom icon for each layer, you can use the given blank icon and enter any text you like to see in your hierarchy.

    Enjoy and keep the suggestions/comments coming.

    $AssetStoreSc5.jpg
    Thanks,
    Zenitch Code
     
    Last edited: Apr 15, 2014
  11. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Version 1.62 is awaiting asset store approval.

    This includes a small bug fix when no object is selected in the hierarchy.

    Thanks,
    Zenith Code
     
  12. p6r

    p6r

    Joined:
    Nov 6, 2010
    Posts:
    1,146
    Thanks for the update...
    Very efficient plugin !!!
    6R
     
  13. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
  14. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Now available on the asset store

    Version 1.63 - (aka Tuliper update)
    New feature
    - Default texture is changed to blank with the text the first part of the layer name
    - Both the icon and the custom layer name can be changed at a later stage through the Rendering Window.
     
    Last edited: Apr 23, 2014
  15. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Version 1.64
    Bug fix - VFX sorter was not working properly in the editor
     
    Last edited: Jul 5, 2014
  16. Mikael-Madrid

    Mikael-Madrid

    Joined:
    Nov 2, 2012
    Posts:
    26
    Hello,I just bought this thinking for some reason it had 2dtk support(which it doesn't),how hard would it be to implement it are you planning to?,thanks in advanced.
     
  17. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Hey Mikael,

    I'm working on an NGUI version right now. I'm not familiar with 2DTK yet so can't promise you that I will do it and if I do it by when. However, you're the second one to ask about this so I will definitely take a look as soon as I finish the NGUI version.

    Regards,
    ZenithCode
     
    Mikael-Madrid likes this.
  18. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Version 1.65
    Path is extracted into a constants class. Change this path if you move the tool's folder under a different hierarchy.
     
  19. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Version 1.70

    Highlight NGUI panels and widgets similar to 2D layers. Anyone using this version can download the NGUI addon for free.
     
    Last edited: Jul 17, 2014
  20. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Version 1.73 (Awaiting AssetStore review)
    Added all icons for NGUI and 2DToolkit in core plugin
    Centred order number
    Support for multiple textures on the same layer (Currently being used by NGUI Panels)


    Version 1.72
    Added support for 2D Toolkit highlighter extension
    Check out the new 2DToolkit add on the asset store.

    Version 1.70
    Added support for the NGUI Depth Highlighter extension
    Check out the NGUI-addon 'NGUI Depth Highlighter' here: http://bit.ly/1rc75Nr
     
  21. Mikael-Madrid

    Mikael-Madrid

    Joined:
    Nov 2, 2012
    Posts:
    26
    Thank you :!
     
    ZenithCode likes this.
  22. Mikael-Madrid

    Mikael-Madrid

    Joined:
    Nov 2, 2012
    Posts:
    26
    Since last patch 2dtk sprites aren't highlighted anymore. :(
     
  23. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Hey Mikael,
    Sorry for the inconvenience. Can you check which versions of the 2 plugins you have please (You can get these from the chagelists files below)?
    1. RenderingOrderHighlighterTool/Documents/Changelist.txt
    2. RenderingOrderHighlighterTool/TK2DUI_Highlighter/RenderingOrderHighlighterTool/Documents/Changelist.txt
    Thanks,
    ZenithCode
     
  24. Mikael-Madrid

    Mikael-Madrid

    Joined:
    Nov 2, 2012
    Posts:
    26
    Reimporting the extension for 2dtk worked,however I can't change the font color or assign a custom name to the layer in the menu. Any idea? Thanks in advanced.
     
    ZenithCode likes this.
  25. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Hey Mikael,

    Can you tell me the version numbers please?

    Version 1.75 (Core) and V1.12 (Tk2D) have been approved on the store yesterday.
    Can you update your plugins and let me know if the problem persists please?

    Thanks,
    ZenithCode
     
  26. YaVeTaL

    YaVeTaL

    Joined:
    Sep 25, 2014
    Posts:
    29
    Thanks, works fine for me. Solved a problem of co-existing 2dtoolkit with particles system.
     
    ZenithCode likes this.
  27. YaVeTaL

    YaVeTaL

    Joined:
    Sep 25, 2014
    Posts:
    29
    Although it fixed particles issue, seems my 2dtoolkit sprite's layers icons are not showed in inspector. In readme, it is said they should appear right after the import, i tried "resync layers" and still cant see the icons.

    Not critical for me, just saying.

     
  28. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    Thanks YaVeTal. Which version of 2DToolKit and which version of my plugin are you using?

    Thanks.
     
  29. YaVeTaL

    YaVeTaL

    Joined:
    Sep 25, 2014
    Posts:
    29
    The latest version of your plugin from the store.
    Good question about toolkit - i didnt update it for a while, probably that's a reason..
     
  30. ZenithCode

    ZenithCode

    Joined:
    Jul 26, 2012
    Posts:
    42
    If you have a big project, check it out in a separate (new) project ideally so as to make sure no older functionality is broken.
     
  31. frikic

    frikic

    Joined:
    Dec 22, 2011
    Posts:
    28
    Hello,

    Just bought you asset, wanting to use it with 2D Toolkit plugin you provided for free. But it just does not work as expected, i realize that 2D Toolkit plugin has not been updated for a long time so that might be the reason?

    So the layers are not marked properly in relation to Sorting Layer and Order In Layer, the results are somehow mixed and i cant find the logic behind, maybe im doing something wrong?. Plus i don't see the reason why this is not integrated in the plugin itself, is this something that might happen in the future?

    Cheers
    Milos Jovanovic
     
unityunity