- Home /
Not Showing Tools Option in Unity Editor
Hey Guys! I'm using unity 4.5.2. and I don't whether it should be there or not, but I'm not seeing the tools option in the menu bar of the Editor. I've seen many youtube videos and they have that tools option along side MENU, EDIT and all that. Is there another way I can access it or it is something else.
Cheers!
Answer by vexe · Jul 25, 2014 at 04:14 PM
You add this to your editor scripts. It's not there by default.
using UnityEditor;
public static class MenuItems
{
[MenuItem("Tools/YourTool/DoStuff")]
public static void Stuff()
{
// ...
}
}
I think it is now the standard for 3rd party tools to put their stuff inside so that the editor won't get cluttered with menus. I got a rejection recently for one of my assets partially because of that.
@vexe It worked... Ya I needed it for a third party asset...I didn't exactly got your point about rejection though...Should I use it or not?
When you publish a tool to the asset store, don't use your name as a menu item, put it under tools ins$$anonymous$$d. i.e. don't do this $$anonymous$$enuItem("Amaresh/AwesomeTool")
ins$$anonymous$$d do $$anonymous$$enuItem("Tools/Amaresh/AwesomeTool")
otherwise you might get your asset rejected from the asset store review $$anonymous$$m.
Answer by KingKong320 · Apr 16, 2019 at 06:14 AM
May be i am too late for this but for other who are facing this kind of issue, i had the same issue,i resolved it by as follows 1)First of all find Editor folder in Project tab,and look if the script is present there,i had script there and when i opened that script it was started with if "Unity_5",but as i am using unity 2017,so i commented that condition and tools option is present in top bar,
Answer by k1820120hja · Mar 18, 2021 at 09:01 PM
@KingKong320 @vexe probably too late to get any replies, but could anyone explain to me how to do this?? I'm a complete beginner to unity and using code/scripts so not sure which editor folder to use and how to put the scripts in? thanks :)
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
ARCamera Issue when migrating to Qualcomm Augmented Reality vuforia-unity-android-ios-3-0-6 1 Answer
GUILayout.BeginScrollView - How to load images downloaded from http ? 1 Answer
Running a Unity 4.6 game on Unity 4.5.2 - Possible? 1 Answer
Game Crashes on iphone3gs and iPod touch but work fine on iPhone 4s 1 Answer