Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

CircularMenu: An easy and quick way to create circular GUI menus in Unity!

Discussion in 'Assets and Asset Store' started by Arkasis, May 13, 2013.

  1. Arkasis

    Arkasis

    Joined:
    Nov 22, 2010
    Posts:
    61
    $Image.jpg

    Hello everybody!

    I’m happy to present you my new creation: CircularMenu.

    CircularMenu is a C# script used in Unity to quickly and easily create GUI circular menus, a great way to add intuitive and ergonomic menus to your applications and games.

    CircularMenu allows you to:
    • Create buttons easily
    • Separate your buttons into categories
    • Link your buttons with actions
    • Play transitions when you show or hide your menus
    • Add a central button to show or hide your menu
    You can adjust a lot of parameters to personalize your menu and make it unique.

    You can easily integrate this script on your game and use it to show player interactions.
    In this way, you can create your menu in runtime and modify its buttons depending of the element the player touch for example.

    All the scripts are in C#.

    A full documentation will help you to integrate the script easily and tutorial videos will show you the basics.

    The package also contain texture assets :
    • 18 button textures in 3 different states : Normal, Hover, Click (54 textures)
    • 1 separator example texture
    This assets will help you to add some content in your menus!

    First video tutorial: Basics
    [video=youtube_share;rQ6ynUB0PBM]http://youtu.be/rQ6ynUB0PBM

    Second video tutorial: Script integration
    Coming soon !

    Web player demo : Click here.

    Unity link: https://www.assetstore.unity3d.com/#/content/8467.

    If you have any question, just mail me or post a message on the forum.

    Thanks for your attention.

    Updates:

    V1.1
    Added functionalities:
    • Menu position choice (Screen percentage or Screen raycast)
    • No upside down category name toggle
    • Active buttons during transitions toggle
    • New buttons events system with OnClick and OnRelease

    Added functions:
    • Get category in menu by name
    • Get button in menu by name
    • Get button in category by name
    • Show and Hide functions can be used without playing transitions if ‘true’ is sent.

    Minor bugs fixed.
     
    Last edited: May 19, 2013
  2. EvilDingo

    EvilDingo

    Joined:
    May 7, 2011
    Posts:
    190
    Hello,

    This looks nice, but one thing that prevents me from buying any GUI system is no NGUI support. No one that uses NGUI wants to also use Unity's GUI system. If you add NGUI support as an option, I think you'd have more interest.

    Cheers!
     
  3. Arkasis

    Arkasis

    Joined:
    Nov 22, 2010
    Posts:
    61
    Hello, and thanks for your post !

    I understand your opinion, but I was looking for an independent script, not using any other GUI system.
    This one can be used with no difficulty in a project using NGUI but, off course, their is not any NGUI support in CircularMenu.

    Do you really think it is a good idea to create scripts which need the user to buy an other script to use ?
    Even if NGUI has a sort of monopoly on Unity GUI systems...

    Thanks again !
     
  4. sesamiam

    sesamiam

    Joined:
    Jun 13, 2012
    Posts:
    87
    I would suggest you to continue what you are doing. So far your menu system looks nice.

    I dont actually like the idea that I should first buy NGUI (or some other) and then buy some compatible add-ons for it (althought they must be very good products).
    Based on this thought I made my own system so I can export my menu design from Photoshop (saving coordinates to XML) and use that for my projects menus. Hmm maybe I could build a working package and sell it :D
     
  5. Z43D

    Z43D

    Joined:
    Jan 2, 2013
    Posts:
    100
    Hey Arkasis,

    It might not be a terrible idea to develop a version that is compatible with NGUI, but personally, if it's a good product and integrates well, I would probably buy it either way. It definitely looks nice and I can think of a few uses for this! Granted this is only my opinion as well but figured you'd appreciate some more feedback :)

    I know that when I develop things, I try to have as few dependencies as possible. I figure you should never give someone a reason to not buy your product, or have to go through another vendor first.

    Regards,
    Mike
     
    Last edited: May 14, 2013
  6. Arkasis

    Arkasis

    Joined:
    Nov 22, 2010
    Posts:
    61
    Hey,

    Thanks for your feedback, I really appreciate !

    @sesamiam : That is my point of view too, I don't want to have dependencies with expensive packages.
    You could try to build a working package for your Photoshop XML system, it can be really useful for a lot of Unity users I'm sure ;).

    @ZedalisDesign : It is not so easy to integrate NGUI in my system because it uses a personal class and not NGUI GameObject system but I can do it if it is a good argument to sell it ;).

    Regards,
    Arkasis
     
    Last edited: May 14, 2013
  7. exiguous

    exiguous

    Joined:
    Nov 21, 2010
    Posts:
    1,749
    i was reluctant when i read "unity script" but checking the package contents reveals that it only contains .cs files. so you should maybe clearify that in your post.
    other than that good work and fair price.
     
  8. Arkasis

    Arkasis

    Joined:
    Nov 22, 2010
    Posts:
    61
    Thanks for your comment, you are right!

    I immediately modify my description : it is a C# script :cool:
    I was thinking all scripts used in Unity are named 'Unity scripts' but it is open to misinterpretation.

    Thanks again exiguous.
     
  9. Arkasis

    Arkasis

    Joined:
    Nov 22, 2010
    Posts:
    61
    Hello,

    I'm pleased to tell you that the version 1.1 is coming soon! :D

    Added functionalities:
    • Menu position choice (Screen percentage or Screen raycast)
    • No upside down category name toggle
    • Active buttons during transitions toggle
    • New buttons events system with OnClick and OnRelease

    Added functions:
    • Get category in menu by name
    • Get button in menu by name
    • Get button in category by name
    • Show and Hide functions can be used without playing transitions if ‘true’ is sent.

    Minor bugs fixed.

    Some advices for peoples using the version 1.0:
    WARNING!
    New buttons events system.
    If you update from v1.0 to v1.1, you will lose your buttons’ ‘Onclick’ events.
    In other updates, nothing will impact your previous works. It was a critical update on buttons send messages.


    ScreenRaycast:
    Now you can use ScreenRaycast to show your menu on a unit position. The menu will follow the unit.
    An example scene will help you to understand how it works.

    No upside down category:
    You can active this toggle to auto rotate category's name when they are upside down on your circular menu.

    Active buttons during transitions:
    You can active this toggle to allow or forbid the use of buttons during transitions.

    OnClick OnRelease:
    New event system implemented. You can now send messages when a user click on a button and/or when he releases it!

    I hope you will enjoy this update. ;)

    Thanks for reading,
    Arkasis.
     
    Last edited: May 19, 2013
  10. Arkasis

    Arkasis

    Joined:
    Nov 22, 2010
    Posts:
    61
    The patch is now available !

    If you have any question, contact me, I will answer you as soon as possible !
     
  11. vicenterusso

    vicenterusso

    Joined:
    Jan 8, 2013
    Posts:
    130
    Great asset.

    Can I suggest to make menu position type relative to its parent? :cool:
     
  12. Burnman001

    Burnman001

    Joined:
    Nov 4, 2013
    Posts:
    1
    My opinion, would be to go with NGUI support, not to shoot down you great work. I'M a UI designer and integrator and NGUI is just what I was looking for, wouldn't go any other way. And unfortunately I was looking for the exact thing you have here, but I'm hesitant to buy it, even for only $10. It Unity was smart, they should by this product and have it as an additional add on to unity. I will research a bit more before I decide to buy this one. Again good job!
     
  13. swtichblade327

    swtichblade327

    Joined:
    May 27, 2013
    Posts:
    2
    Just purchased this today as it's almost exactly what I was looking for. Nice work!

    I don't know if this script is even still supported since there is just one YouTube video and the last post from the creator is a year ago but I'll ask anyway: is there any way to have this menu popup/become active on mouse button down and selected upon release? I have the menu popping up fine but the Hover functionality over all buttons except the Activate/Cancel button doesn't register until I've release LMB the first time.

    PS I also vote for NGUI integration :) (as an option)
     
  14. vuong_vin

    vuong_vin

    Joined:
    Sep 17, 2014
    Posts:
    18
    How to add sound when click? Thanks
     
  15. Javier17

    Javier17

    Joined:
    Sep 6, 2013
    Posts:
    7
    Is it possible to add a secondary menú from once you open a selection?
     
  16. Arkasis

    Arkasis

    Joined:
    Nov 22, 2010
    Posts:
    61
    Hi guys and sorry for this late answer :-/
    I don't go often on the Unity forum...
    Send me a direct mail if you have any question and I will answer quickly.

    vicenterusso :
    Actually, you can select the mode you want.
    So you can make menu position relative to its parent !

    swtichblade327:
    Thanks for purchasing !
    The script is still supported when I got some holidays ^^
    You can modify quickly the code to integrate your wishes using my documentation !

    quenhoai2003:
    You can easily add sounds on click if you add some code using my documentation on CircularMenu.cs.

    Javier17:
    Like in the examples, you can hide a menu and open another one.
    Or maybe if this is what you are looking for, you can open another menu with an higher radius that will appear over the first menu.

    I hope I answer your questions!

    Best regards.