tip

Short programming tips you can use in minutes.

Using Var - Implicitly Typed Fields - Quick Tip
Using Var - Implicitly Typed Fields - Quick Tip
· ☕ 2 min read
C# is a statically typed language meaning you must specify what type your variables are when declaring them. These types are verified by the compiler as you build your project.

Inline Initializing C# Dictionaries - Quick Tip
Inline Initializing C# Dictionaries - Quick Tip
· ☕ 1 min read
C# allows you to seed data into your dictionary when it’s constructed by using an initializer function that accepts a series of key, value pairs after its constructor that causes those elements to be automatically inserted into your Dictionary’s for you.

Inline Initializing C# Lists - Quick Tip
Inline Initializing C# Lists - Quick Tip
· ☕ 1 min read
C# includes a method for initializing Lists that means you do not need to repeatedly Add("foo") throughout your code.

Interpolated Strings in C# - Quick Tip
Interpolated Strings in C# - Quick Tip
· ☕ 1 min read
C# has the ability to build strings in a number of ways. The simplest is concatenating them, but it’s not always the easiest or best solution depending on what you’re making.

Math in the Unity Inspector - Quick Tip
Math in the Unity Inspector - Quick Tip
· ☕ 1 min read
Unity has made it a bit easier to compute some values in their editor windows by allowing you to enter math formula’s into the inspector.

Rotating Unity Gizmos - Quick Tip
Rotating Unity Gizmos - Quick Tip
· ☕ 2 min read
Gizmos are a really handy way to indicate a whole range of interesting information during development of your project.