In this tutorial, I used C# code for Unity to:
Created a custom health effect script called Spawner Sample Script.
Wrote new instructions to increase the player’s health points (HP), called Health Effect Script.
Made the HP increase value a variable that can be changed in Unity Editor.
To download the game to your own computer, download the file.
For Windows: Download this folder and start the "New Unity Project.exe" file.
For Mac: Download this folder and start the app.
PS! Your computer might not like downloading the app or file from Google Drive. If you want to try the game, try creating an Unity account and download Unity game engine for free. Download this game folder, and open it from the Unity Hub.