Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jahnstar/hey-update-optimizer
Open-source Update Optimization Tool | for Unity Engine
https://github.com/jahnstar/hey-update-optimizer
Last synced: 27 days ago
JSON representation
Open-source Update Optimization Tool | for Unity Engine
- Host: GitHub
- URL: https://github.com/jahnstar/hey-update-optimizer
- Owner: JahnStar
- License: cc-by-4.0
- Created: 2023-02-05T11:17:33.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T22:35:54.000Z (about 1 year ago)
- Last Synced: 2023-12-13T23:35:17.930Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 33.3 MB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hey Update Optimizer v1
Hey Update Optimizer is a tool to improve the performance of game runtime. This tool adjusts the update frequency of components in the game and distributing the processing load.
The plugin is available on the Unity Asset Store for free: Click for add to your unity assets
## **Features**
- Easy to use and implement in your project.
- Ability to adjust the update frequency of each component of the objects in the game.
- Ability to set the number of updates per frame.
- Ability to set the pooling ratio for updates.## **Installation**
The tool can be found in the Unity Asset Store and on GitHub. To install, simply download and add the Hey Update Optimizer component to your Unity project.
## **Usage**
Hey Update Optimizer component is designed to be easy to use. Firstly, implement the ‘IHeyUpdate’ interface to the components you want to be affected. Then, add the "Hey Update Optimizer" component to a game object in the scene using the add component button and adjust the update frequency and pooling ratio settings to meet the needs of your game. The tool will automatically handle the rest.
Example component script:
```csharp
using UnityEngine;
using JahnStar.Optimization;
public class Example : MonoBehaviour, IHeyUpdate
{
public int UpdatePerFrame { get => 1; }
public void HeyUpdate(float deltaTime)
{
if (!isActiveAndEnabled) return;
// Your update code here
}
}
```## **Contributors**
Currently, there are no contributors.
## License
Shield: [![CC BY 4.0][cc-by-shield]][cc-by]
Hey Update Optimizer © 2023 by Halil Emre Yildiz is licensed under the
[Creative Commons Attribution 4.0 International License][cc-by].[![CC BY 4.0][cc-by-image]][cc-by]
[cc-by]: http://creativecommons.org/licenses/by/4.0/
[cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png
[cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg