Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I have another question. what does void "awake" do? and could you give an example of how to pass through certain parameters in object.instantiate?

Deleted post

thanks!

Void "awake" runs at the start of the scene, but it runs BEFORE the void "start"

I'm pretty sure Awake runs when the gameObject with the script is first activated