The purpose of this package is to provide easy solutions to a variety of common scenarios that come up when creating a new Unity project, including:
- Tracking local high scores for players
- Controlling positional audio with pools
- Controlling continuous background music across scenes
- Optimizing high quantities of object spawning with object pools
- Adding screen shake
- Various extension methods for pre-existing classes
- More in future updates
Click here to see the Changelog. To see the full list of classes and methods available, check the documentation here.
Add the following entry to your manifest.json file:
"com.mlaikhram.common": "https://github.com/mlaikhram/Unity-Common-Scripts.git"
For more information, view the Unity documentation here.
Whenever you would like to access the classes and functions from this package, add the following line to the top of your script:
using Mlaikhram.Common;
If you would like to update the package, then delete the com.mlaikhram.common entry from your packages-lock.json file and restart Unity.