Skip to main content

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

Update: Development is still in progress, but I thought I should post a quick tip/fun fact that I realized while making the new build system (this is in Unity). This might be a pretty obvious to some, but I didn't know that the OnEnable function will not trigger on a game object if it starts out as Enabled. I thought that it'll run once, like a Start or Awake function, if the game object is enabled. It turns out that you have to disable the game object and re-enable it in order for the OnEnable function to trigger. I spent 30 minutes looking at my code, wondering why I wasn't getting the expected results, but I finally found the issue and resolved it by simply disabling the prefab. It's amazing how I didn't know about this simple concept even though I have used Unity for the past two years! It just shows how much you'll learn from creating more projects rather than just watching YouTube videos all the time. 

The discussion of disabling the prefab and the new build system will all make sense when I post the next devlog. Progress is looking good, so I expect another post  tomorrow or the day after on the completed new system. I will have one post covering the summary of my development and what it does for the game and another post that'll go more in depth on the development of the new building system for anyone who wants to learn! I will check back on the other members of the team to see how much progress we made on the new enemies.

Share this post with your friends! Thanks for sticking with us on our development journey!