Skip to content

redbluegames/com.hextantstudios.utilities

 
 

Repository files navigation

Hextant - Utilities

This repository contains a collection of helpful runtime and editor classes for Unity.

This fork by Red Blue Games adds a GUI. It modifies SelectionHistory to expose its state as needed for the GUI.

Package Manager Installation

It can be installed from Unity's Package Manager using the following Git URL:

Embedded Installation

It can also be installed by cloning this repository into a Unity project's Packages/ folder. This will allow for changes to be made to the package, but updates will need to be done manually using Git instead of Unity's Package Manager.

Documentation

Documentation for these classes can be found below and in various articles on HextantStudios.com.

Editor Singleton

A ScriptableObject-based singleton that can be used for GUI-less editor plug-ins. By deriving from ScriptableObject, non-static fields are persisted between script recompiles (domain reloads).

Selection History

This editor plug-in derives from the EditorSingleton class allowing it to maintain a small history of recently selected objects that can be moved backward or forward through by pressing F1 and Shift+F1 (customize in Edit/Shortcuts).

Log Compile Times

This simple plug-in for Unity's Editor logs how long it takes to compile script changes and perform domain reloads to quickly spot potential issues that can affect iteration times.

Settings

A ScriptableObject-based singleton that can be used to store project-wide or user-specific settings for editor plug-ins or project-wide settings for use at runtime. Settings can be easily exposed to the Edit/Preferences and Edit/Project Settings dialogs or modified manually by plug-ins.

Note: The user settings folder Assets/Settings/Editor/User/ should be excluded from source control.

About

A collection of helpful runtime classes and editor plug-ins for Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%