Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You have to import UnityEngine.UI by adding "using UnityEngine.UI" at the top of the script.

damn I didn't notice that, thanks man