How Many Lights Are There: The Four Types Of Lights In Unity
As you explore the Unity lighting system you will discover and utilize four basic types of lights to illuminate your scenes. The types are Directional, Point, Area, and Spotlight. In this article we'll cover them and their use cases to help make your scenes look at...
Make It Dazzle: Setting Up Universal Render Pipeline In Unity
The Universal Render Pipeline is visually stunning and high performance improvement to Unity Standard Builtin pipeline, it gives the widest reach of compatibility, ease of use tools., and fidelity without compromising stability. We'll go through a step by step guide...
Light Up The World: 3D Environments and Lighting
Moving from 2D environments to 3D environments requires an entire new dimension of planning that a simple flat surface never really exposes you to. Aside from the depth of objects in a 3rd dimension is the richness of lighting and shadows. So what is 3D exactly? This...
Permanent Fixture: Static Types In Unity
So you want to keep something around forever (or at least for the life of your game?) well Unity has you covered with Static Types! So what are they exactly? Many things can be static (classes, methods, variables) and when you have one there can only be one like the...
Get It, Set It, Don’t Forget It: Properties In Unity
Encapsulation is one of the most pivotal aspects of coding. In a nutshell it is the ability for classes to keep parts or all of themselves private unchanged from the outside. However sometimes these private variables must be changed from the outside but otherwise...
What’s In A Name?: Namespaces In Unity
Namespaces are collections of libraries of code that allow extra functionality in your project. Unity comes with three default System.Collections and System.Collections.Generic and then UnityEngine. There are variety of different namespaces provided by Unity such as...
Checking It Twice: Using Lists In Unity
Much like arrays, Lists are used to group collections of variables and objects. Unlike arrays which are static once created and can only be changed by creating a new array and copying over the values. By contrast lists allow you to dynamically add and remove values on...
Mind Enuming: How To Use Enums in Unity
Mind Enuming: Enums in Unity Have you ever wished you could just use some standard language to represent your values? Well now you can with Enums. In C# these are primitive data types using regular language to represent a constant. They’re basically ints with added...
Look That Up Real Quick: Dictionaries In Unity
More complex games usually means more complex methods of organization. Dictionaries help you make sense of the chaos by mapping a key (like a string) to a value pair (for example an int) and then giving you a fast way to look it up. [gist...
It’s An Abstract Kind Of Interface: Abstract Classes and Interfaces
It’s An Abstract Kind Of Interface: Abstract Classes and Interfaces Taking advantage of C#’s more advanced features will begin to make more sense from a organizational perspective as you begin looking to make classes more compact and efficient, extracting more and...