Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CrazyGamesCom/unity-optimizations-package
https://github.com/CrazyGamesCom/unity-optimizations-package
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/CrazyGamesCom/unity-optimizations-package
- Owner: CrazyGamesCom
- License: gpl-3.0
- Created: 2022-05-24T09:45:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T11:08:41.000Z (about 1 year ago)
- Last Synced: 2024-07-31T08:19:01.464Z (4 months ago)
- Language: C#
- Size: 17 MB
- Stars: 116
- Watchers: 7
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - CrazyGamesCom/unity-optimizations-package - (C\#)
README
# Unity WebGL Optimizer
The purpose of this package is to help you optimize your game by reducing the build size and increasing the performance. At the moment, it is targeted at WebGL games.
If you are using our CrazySDK, this package will come integrated with it.
Minimum required versions:
- C# 6.0
- Unity 2019Once you have imported the package from GitHub, or our SDK which also contains this tool, it will be accessible in the `Tools > WebGL Optimizer` menu option.
![Menu option](Docs/menu-option.png?raw=true)
## Export optimizations
The export optimizations tab contains a checklist of options that should be correctly set to improve the performance and decrease the bundle size of your WebGL game.
![Export optimizations](Docs/export.png?raw=true "Export optimizations")
## Texture optimizations
The texture optimizations tool provides an overview of all the textures in your project, and also various tips about optimizing the size they occupy in the final build.
It finds textures in your project in these 2 ways:
1. By looking at the scenes included in the build (Build settings > Scenes in build), and finding recursively all the textures on which those scenes depend.
2. By finding textures in `Resources` folders, or by recursively finding textures on which the assets from the Resources folders depend.This means that the texture detection may miss more intricate textures that are not covered by the above cases.
You can toggle the "Include files from Packages" options to also display textures from the installed packages, for example from Package Manager.
![Texture optimizations](Docs/textures.png?raw=true "Texture optimizations")
## Model optimizations
The model optimizations tool works very similar to the texture optimizations tool, but instead of textures it finds models in your project and provides various tips about optimizing them.
![Model optimizations](Docs/models.png?raw=true "Model optimizations")
## Audio clip optimizations
The audio clip optimizations tool works very similar to the texture optimizations tool, but instead of textures it finds audio clips in your project and provides various tips about optimizing them.
![Audio optimizations](Docs/audio.png?raw=true "Audio optimizations")
## Build logs analyzer
The build logs analyzer parses the Editor.log file to extract the list of files included in your build and the space they occupy. You can use this utility to furthermore analyze the files included in your project.
Similar to the texture optimizer, you can toggle the "Include files from Packages" options to also display textures from the installed packages, for example from Package Manager.
![Texture optimizations](Docs/build-logs.png?raw=true "Build logs")
## CrazyGames
We can also help your game become popular on the web. You can submit your game on CrazyGames [here](https://developer.crazygames.com/).