Devlog
- December 22, 2020 by Against the Tide#code, #console.log, #unity, #c#, #javascriptHow many times have I done this? Debug.Log(thing, otherThing); Only for Unity slap me upside the head with a mutter of disapproval. I sigh and make two Debug statements or add a + " " + in between. Or... Continue reading
- December 20, 2020 by Against the Tide#Unity, #C#, #build number, #automationBefore we begin, this doesn't increment the iOS build number. I'm sure that's possible, but this isn't that. This code example deals with a generic build number. Because nothing says "I'm working on... Continue reading
- December 20, 2020 by Against the Tide#unity, #C#, #GameObject, #GetComponent, #one-linerOften times I created a game object in Unity then GetComponent the bit I actually want that does the business I'm after. So I would end up with a bunch of this mess: GameObject someGameObject = Instan... Continue reading
- December 18, 2020 by Against the Tide#unity, #c#, #json, #asynchronous, #Resources, #codeLoading code from the Resources folder is bad. Don't do it. But so is eating a dozen chocolate chip cookies. The cookies are delicious and the Resources folder is a quick, dirty way to get dynamic dat... Continue reading