Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lunaristudios/tsukisuite
A toolsuite created to make Unity development easier
https://github.com/lunaristudios/tsukisuite
csharp nuget-package unity unity-3d unity-asset unity-editor unity-plugin unity2d unity3d unity3d-plugin
Last synced: about 1 month ago
JSON representation
A toolsuite created to make Unity development easier
- Host: GitHub
- URL: https://github.com/lunaristudios/tsukisuite
- Owner: LunariStudios
- License: mit
- Created: 2019-01-09T19:19:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-28T21:00:20.000Z (over 1 year ago)
- Last Synced: 2024-10-01T15:44:36.642Z (about 1 month ago)
- Topics: csharp, nuget-package, unity, unity-3d, unity-asset, unity-editor, unity-plugin, unity2d, unity3d, unity3d-plugin
- Language: C#
- Size: 5.53 MB
- Stars: 27
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![Tsuki Logo](Assets/Content/128w/TsukiLogo_Black_128px.png)
# TsukiSuite
TsukiSuite is an open source, free for commercial use suite of libraries created for making Unity development more
pleasant.Each library can be compared as a version of Google's [Guava](https://github.com/google/guava), but created for Unity
Currently, four of those exists, but more will be added as the need for them surface
* Tsuki Runtime _(Core libraries & algorithms)_
* Tsuki Entities _(Gameplay Architecture)_
* Tsuki Editor _(Editor specific libraries)_
* Tsuki Graphs _([Graph Theory](https://en.wikipedia.org/wiki/Graph_theory) libraries)_## Installation
1. Install **Unity 2020.3** or older
2. Open Unity Package Manager.
![](Static/Installation_1.png)
3. Click on the the '+' icon, add package from git URL, as paste the following url: `https://github.com/LunariStudios/TsukiSuite.git#upm`.
![](Static/Installation_2.png)
4. Wait for the download and you are done! You can now freely use Tsuki
## Features and examples* Collections
```csharp
List list = new List();
if (list.IsEmpty()) {
Debug.Log("Is empty!");
}
```
```csharp
public struct Data {
public string Name;
public int Priority;
}
List data = PopulateListWithRandomData();
Data withHighestPriority = data.MaxBy(d => d.Priority)
```
* Colors
```csharp
Color color = Colors.RandomColor();
Color newColor = color.SetHue(Mathf.Sin(Time.time));
```
```csharp
Color a = new Color(1, 0, 1, 1);
ColorHSV b = a;
ColorHSV colorHSV = new ColorHSV(0, 1, 1, 1);
Color c = colorHSV;
```
* Editor
```csharp
// Bonus: A list of hidden UnityEditor GUIStyles!
var style = GUIStyles.Get(GUIStyles.box);
var labelRect = position.GetLine(2);
EditorGUI.LabelField(labelRect, "I am on the third with the console info style!", style);
```
* UI
```csharp
// No need to declare a copy of Graphic.color
Text.SetAlpha(Mathf.Sin(Time.time));
Text.SetHue(Mathf.Cos(Time.time));
```
* And many more## Planned features
* Code Generation tool using T4 templates.
* Best practices knowledge base and bad practice detection.