unitytips: Editor internal menus
Unity Editor has a kind of an easter-egg where you can enable internal menus, like Project / Save As Template, Screenshots, etc. Unity Editor internal menus Enabling internal menus To enable those menus, go to Help / About Unity, then type internal, after that, you will see some new menus...
Read "unitytips: Editor internal..."
unitytips: Tuple Patterns
Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Tuple Patterns. Introduction Some algorithms depend on multiple inputs. Tuple patterns allow you to switch based on multiple values expressed as a tuple. The tuples provides concise syntax...
Read "unitytips: Tuple Patterns"
unitytips: Property Patterns
Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Property Pattern. Introduction Property Patterns enables you to match on properties of the object examined in a Switch Expressions. The switch expression provides for switch-like semantics in an...
Read "unitytips: Property Patterns"
unitytips: Switch Expressions
Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Switch Expression. Introduction Switch Expressions can dramatically simplify and reduce the LOC (Lines Of Code) to make a switch. The switch expression provides for switch-like semantics in an...
Read "unitytips: Switch Expressions"
Gamedev Utility Belt: Graphy
I decided to start a series of posts about some game development resources that are part of my gamedev utility belt and that helps me on my game projects. For this second post, the chosen one is the Graphy by MartÃn Pane that I used in a lot of my...
Read "Gamedev Utility Belt: Graphy"
Gamedev Utility Belt: Unity Native Share Plugin
I decided to start a series of posts about some game development resources that are part of my gamedev utility belt and that helps me on my game projects. For this first post, the chosen one is the Unity Native Share Plugin by Süleyman Yasir KULA that I used on...
Read "Gamedev Utility Belt: Unit..."
Kenney Jam 2020 entry: Curseings
Last weekend I participated in Kenney Jam 2020 (my first game jam). The experience was really good, when you have so strong boundaries to make a game, in this case, 48 hours and just use assets from Kenney, you need to turn your way of think and expectations to a...
Read "Kenney Jam 2020 entry: Cur..."
Azure Pipelines - Generating DB Script with SqlPackage.exe
Recently I needed to automate the generation of a database script deploy from a SQL Server Database Project on our Azure Pipelines continuous integration. Below I will describe the steps to achieve such thing. Building the solution A SQL Server Database Project has a solution (.sln) as any other kind...
Read "Azure Pipelines - Generating DB ..."
unitytips: String interpolation
Since C# 6.0 you can use String interpolation to make code more readable: The sample lines will result in the same string The $ special character identifies a string literal as an interpolated string. String interpolation provides a more readable and convenient syntax to create formatted strings than a string...
Read "unitytips: String interpol..."
unitytips: Expression body definition
When you have a single line method, you can use expression body definition do simplify and reduce the lines of code: Expression body definitions for methods and read-only properties are supported starting with C# 6. Expression body definitions for constructors, finalizers, property accessors, and indexers are supported starting with C#...
Read "unitytips: Expression body..."