Skip to content

Variety of Unity scripts and tools.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

ChemiKhazi/UnityToolbag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityToolbag

This repo is a host for any little Unity scripts I write that are simple and easy for others to leverage. Each folder has its own README to explain the usage in more depth than here. All scripts are being written with the latest Unity 5 and may or may not work in earlier versions.

Features

  • AnimParamsAttribute - A property attribute that exposes the parameters of an Animator as a popup in the inspector.
  • SortableArray - A property attribute that displays arrays/lists as a ReorderableList in the inspector.
  • CacheBehaviour - A drop-in replacement for MonoBehaviour as a script base class that provides caching of all standard properties.
  • Dispatcher - Provides a mechanism for invoking code on the main thread from background threads.
  • DrawTitleSafeArea - Simple component you add to a camera to render the title safe area.
  • Future - Simple implementation of the future programming concept.
  • QuickToggle - Basic tool for locking objects in the scene to minimize accidental edits while working.
  • SimpleSpriteAnimation - A very basic system for a simpler frame based animation for Unity's 2D system.
  • SnapToSurface - Editor tools to assist in positioning objects.
  • SortingLayer - Tools for working with Unity's new sorting layers.
  • StandardPaths - A static class that exposes good locations for saving files.
  • UnityConstants - Tool for generating a C# script containing the names and values for tags, layers, sorting layers, and scenes.
  • ArrayIndexAttribute - A property attribute that turns an integer array index into a dropdown.

Usage

Simply clone the repository into the 'Assets' folder of a Unity project and you're good to go. If you're already using Git, you can use a submodule to check out into Assets without the Toolbag getting added to your repository.

Alternatively you can just cherry pick the features you want and copy only those folders into your project. Be careful, though, as some of the features may depend on others. See the individual feature README files to find out.

Shameless Plug

If you find any code in here to be useful and feel so inclined, you can help me out by purchasing a game from my company, Brushfire Games. Absolutely not required (this code is free) but definitely appreciated. :)

About

Variety of Unity scripts and tools.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published