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"

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..."


Tutorials

Articles

Labs