Geometry Dash Clone Unity Game: Giant Avocado Task
Assets/GameAssets folder is the folder where I work; the other folders are came with initial project or the assets that i downloaded!
The player uses Rigidbody2D for gravity scale and RB.AddForce($something,ForceMode2D.Impulse) for Jumping.
For changing the game mode, I created mode changer prefabs that have OnTriggerEnter2D function and checks if it collided with tag: Player.
If Player collides with this objects player will die.
In object below we can observe the blue box in right of white square if that hit something in the scene player dies.