Giter Site home page Giter Site logo

categorytool's Introduction

CategoryTool

Category Tool is a Unity Editor tool to create Categories in the Hierarchy. The Categories work as dividers between GameObjects.

alt text

Features

This tool gives you the option to create Category gameobjects. Category gameobjects are just regular gameobjects, but they are assigned the "EditorOnly" tag and "Category" layer. Categories are shown in the Hierarchy differently compared to other gameobjects, which makes them ideal for use dividers. You can control the appearence of the Category gameobjects from Edit > Preferences > Category Tool. Additionally, the Category Tool gives you the option to display Enable/Disable and Delete options right in the Hierarchy. Those options can be enabled or disabled from Edit > Preferences > Category Tool.

NOTES:

  • You need to have a layer named Category in your project, otherwise the Category Tool won't work. If you don't have a layer named Category in your project, create it, and then you can use the Category Tool.
  • The Enable/Disable and Delete options don't effect multi-selected objects. So if you want to Enable/Disable or Delete a particular gameobject, you have to click the Enable/Disable or Delete option beside that gameobject in the Hierarchy.
  • You can change the Selected Color and Not Selected Color of the Categories. But you'll notice that you're unable to change the Alpha values of these colors. The reason is that these Categories are being drawn on top of whatever is already there in the Hierarchy. So we can't allow transparency, otherwise the text behind will be visible.

Instructions

  • Place this script in the Editor folder in your project.
  • Create a layer named Category in your project.
  • Click Create > Create Other > Category to create a new Category.

Known Bugs:

  • When renaming a Category through the Hierarchy the name will look mangled until you hit Enter. To avoid this issue, rename Categories from the Inspector instead.

categorytool's People

Contributors

demkeys avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.