Skip to main content

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

Is this unity? If so then instead of collisonInfo.collider.tag=="1", use collisionInfo.collider.gameObject.CompareTag("1")