https://github.com/bluepixeldev/utilkit

A simple unity plugin containing helpfull utility functions, classes and more.

https://github.com/bluepixeldev/utilkit

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary

Keywords

package plugin saving unity unity6 utility
Last synced: 5 months ago · JSON representation

Repository

A simple unity plugin containing helpfull utility functions, classes and more.

Basic Info
  • Host: GitHub
  • Owner: BluePixelDev
  • Language: C#
  • Default Branch: main
  • Homepage:
  • Size: 75.2 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
package plugin saving unity unity6 utility
Created 10 months ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

Utilkit

GitHub Repo stars GitHub last commit GitHub issues Unity Version

Utilkit is a collection of helpful utilities for Unity development. It includes a variety of helper functions and extensions for Vector3, Vector2, and more, as well as utilities for drawing gizmos and handling null checks.

Features

  • Vector3 Utilities: Extensions for basic vector operations like setting individual axes, adding, subtracting, and math functions (multiply, divide, clamp, etc.)
  • Null Check Utilities: Simplified methods for checking and invoking actions on objects that are either null or not null.
  • Gizmos Utilities: Tools to draw 2D and 3D shapes (e.g., circles, squares, cones, cylinders) using Gizmos in the Unity editor.

Installation

Method 1: Unity Package Manager (UPM)

To use Utilkit, add the following to your Packages/manifest.json:

json { "dependencies": { "com.bluepixel.utilkit": "https://github.com/bluepixeldev/utilkit.git" } } `

Method 2: Manual Download

  1. Download the repository as a ZIP file or clone it.
  2. Add the contents of the BP.Utilkit folder to your Unity project's Assets directory.

Usage

You can start using the utilities in your project by including the namespaces:

csharp using BP.Utilkit;

Example Usage:

Vector3 Utilities:

csharp Vector3 v = new Vector3(1, 2, 3); v = v.SetX(5); v = v.Add(new Vector2(1, 1)); v = v.Mul(2);

Null Check Utilities:

csharp myObject.WithNotNull(obj => obj.DoSomething()); myObject.WithNull(() => Debug.Log("Object is null"));

Gizmos Utilities:

csharp void OnDrawGizmos() { Gizmos2D.DrawWireCircle(transform.position, 2); GizmoUtil.DrawCylinder(transform.position, 1, 5); }

Documentation

Detailed documentation is available in the GitHub Wiki.

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

Owner

  • Name: BluePixel
  • Login: BluePixelDev
  • Kind: user
  • Location: Czech Republic

A game dev. working on an FPS/Roguelike game, Re-Take. Set in the near future, the internet is under attack of a virus. Only you can stop it and regain control.

GitHub Events

Total
  • Watch event: 1
  • Push event: 4
  • Gollum event: 40
Last Year
  • Watch event: 1
  • Push event: 4
  • Gollum event: 40

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 5
  • Total Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 5
  • Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
OndrejKacirek b****v@g****m 5

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

package.json npm
  • com.bluepixel.utilkit file: