https://github.com/rageagainstthepixel/com.utilities.extensions
Common extensions for Unity types (UPM)
https://github.com/rageagainstthepixel/com.utilities.extensions
extensions unity unity-3d unity-extensions unity3d upm upm-package
Last synced: 8 months ago
JSON representation
Common extensions for Unity types (UPM)
- Host: GitHub
- URL: https://github.com/rageagainstthepixel/com.utilities.extensions
- Owner: RageAgainstThePixel
- License: mit
- Created: 2023-04-05T00:30:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-25T22:53:24.000Z (over 1 year ago)
- Last Synced: 2025-01-31T03:54:56.492Z (over 1 year ago)
- Topics: extensions, unity, unity-3d, unity-extensions, unity3d, upm, upm-package
- Language: C#
- Homepage:
- Size: 146 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# com.utilities.extensions
[](https://discord.gg/xQgMW9ufN4) [](https://openupm.com/packages/com.utilities.extensions/) [](https://openupm.com/packages/com.utilities.extensions/)
Common extensions for for the [Unity](https://unity.com/) Game Engine types.
## Installing
Requires Unity 2021.3 LTS or higher.
The recommended installation method is though the unity package manager and [OpenUPM](https://openupm.com/packages/com.utilities.extensions).
### Via Unity Package Manager and OpenUPM
#### Terminal
```terminal
openupm add com.utilities.extensions
```
#### Manual
- Open your Unity project settings
- Select the `Package Manager`

- Add the OpenUPM package registry:
- Name: `OpenUPM`
- URL: `https://package.openupm.com`
- Scope(s):
- `com.utilities`
- Open the Unity Package Manager window
- Change the Registry from Unity to `My Registries`
- Add the `Utilities.Extensions` package
### Via Unity Package Manager and Git url
- Open your Unity Package Manager
- Add package from git url: `https://github.com/RageAgainstThePixel/com.utilities.extensions.git#upm`
## Documentation
### Runtime Extensions
- Addressables Extensions
- Component Extensions
- GameObject Extensions
- Transform Extensions
- Unity.Object Extensions
### Runtime Utilities
- SerializedDictionary: A generic dictionary that can be serialized by Unity's serialization system, allowing you to use dictionaries in your MonoBehaviour and ScriptableObject classes.
### Editor Extensions
- EditorGUILayout Extensions
- SerializedProperty Extensions
- ScriptableObject Extensions
- Unity.Object Extensions
### Editor Utilities
- AbstractDashboardWindow
- Regenerate Asset Guids: A utility to regenerate the GUIDs of all assets in the project or a specified directory.
- Script Icon Utility: A utility to set a custom icon for all scripts inside of a specified directory.
- A component context utility to upgrade and downgrade components from derived, non-abstract types.
### Attributes
- SceneReferenceAttribute: When added to a serialized string field, it will render the scene picker in the inspector, allowing you to select a scene from the project. If the scene is not in the build settings, it will be added automatically.
### Behaviours
- LoadSceneButton: A simple uGUI button that loads a scene when clicked.