블로그 이미지
Every unexpected event is a path to learning for you. blueasa

카테고리

분류 전체보기 (2797)
Unity3D (853)
Programming (479)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (185)
협업 (61)
3DS Max (3)
Game (12)
Utility (68)
Etc (98)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (55)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday

UnityToolbag

Unity3D/Plugins / 2015. 7. 20. 19:58


Link : https://github.com/nickgravelyn/UnityToolbag



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 Unity 5.0 and may or may not work in earlier versions.

Features

  • 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.
  • EditorTools - Misc tools for making it easier to build editor UI.
  • ExclusiveChildren - Helper script for managing objects in a hierarchy that represent mutually exclusive options (like a set of menu screens)
  • Future - Simple implementation of the future concept.
  • GameSaveSystem - A helper system for game saves to provide automatic backups and background thread processing along with better game save file paths.
  • ImmediateWindow - An editor window that allows executing manual C# snippets.
  • ScriptableObjectUtility - An editor class to help with creating ScriptableObject subclasses.
  • 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.
  • TimeScaleIndependentUpdate - Components to make it easier to continue animations whenTime.timeScale is set to 0 (i.e. paused).
  • UnityConstants - Tool for generating a C# script containing the names and values for tags, layers, sorting layers, and scenes.
  • UnityLock - Basic tool for locking objects in the scene to minimize accidental edits while working.

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.

Any component types are exposed through the component menu under UnityToolbag:

ComponentMenu.png

Contributing

Feel free to contribute fixes, updates, or enhancements to the code via pull request. New tools or utilities are welcome provided they are useful to a variety of people. Please read the contribution guide for further details.

Shameless Plug

If you find any code in here to be useful and feel so inclined, you can help me out by picking up a copy of my company's first game Shipwreck. Absolutely not required (this code is free) but definitely appreciated. :)

반응형
Posted by blueasa
, |