Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i'm getting an error

A topic by youraveagewirdo created Aug 25, 2019 Views: 217 Replies: 4
Viewing posts 1 to 3

my script is getting this error "Assets\PlayerMovement.cs(65,18): error CS0131: The left-hand side of an assignment must be a variable, property or indexer" can I get some help please

Submitted

What do you have on line 65 of the PlayerMovement file?

else if(Input.GetKeyDown(KeyCode.UpArrow) && extraJumps == 0 && isGrounded = true)

Submitted

It should be isGrounded == true

= is assignment, == is comparison

;)

thank you