unitytips: Indices

Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Indices. Introduction Indices provide a succinct syntax for accessing single elements in array/collection. Consider the array below: The 0 index is the same as sequence[0]. The ^0 index...
Read "unitytips: Indices"

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"


Tutorials

Articles

Labs