https://github.com/oblerion/nullity
framework easy to use for Unity 3d
https://github.com/oblerion/nullity
csharp framework opensource unity3d
Last synced: about 1 year ago
JSON representation
framework easy to use for Unity 3d
- Host: GitHub
- URL: https://github.com/oblerion/nullity
- Owner: oblerion
- License: gpl-3.0
- Created: 2023-06-04T07:45:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-11T07:15:22.000Z (almost 3 years ago)
- Last Synced: 2025-01-05T20:41:12.436Z (about 1 year ago)
- Topics: csharp, framework, opensource, unity3d
- Language: C#
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
I don't want to use unity in future, so you can rename,modify,share it.
# run demo helloword
### 1) Create new 3d project
- Copy Nullity folder in Assets dir
- Copy SceneTitle.cs in Assets
- Create void gameobject and attach AssetManager.cs and SceneManager.cs.
### 2) On AssetManager (editor)
- add Arial font on list_font
### 3) run it
# Scene example
```csharp
using nullity;
public class SceneTitle : Scene
{
Text3D title;
public SceneTitle() : base("title")
{
title = new Text3D("text_title","helloword",25,"Arial",Color.white);
title.SetPosition(MainCamera.PositionX,MainCamera.PositionY,MainCamera.PositionZ+23);
title.SetParent(this);
}
// call one time when SceneManager.SetScene("title") is call
public override void Init()
{
}
// call every frame
public override void Update()
{
}
}
```
# Install
just copy Nullity folder in your project.
# Nullity
- lot of class can be userfull for make game without doc of unity.
- nullity use ServiceLocator.cs internaly
- for 2D create Canvas2D and use it
- to do wiki ...
[full api](https://github.com/oblerion/Nullity/wiki)