What is up guys, Fire here. The biggest issue that we indie game developers face when we create a mobile game in Unity is how can we make our game look the same on all screen sizes? What do I…
All unity entries
Event dispatcher unity c# pattern
How is it going? WTF? This script is an implementation of an event dispatcher component in the Unity game engine. The event dispatcher component provides a way for objects in a Unity game to communicate with each other by allowing…
How to change _MainTex and _DetailAlbedoMap unity webgl Addressables
First you need to enable _DetailAlbedoMap material.EnableKeyword(“_DETAIL_MULX2”); than you need to change _DetailAlbedoMap and after that change _MainTex. It works fine for me. Full code here: But this code works fine in unity editor and doesn’t work in webgl site…
Dependency Injection for Absolute Beginners with C# and .NET
In this vedeo Core of Dependency Injection Dependency Injection with Concrete Implementation Different Ways of Injection: Constructor Injection, Method Injection and Property Injection Why Dependency Injection? Dependency Injection with Interfaces: Loosely Coupled Code 3 Reasons to Use Interfaces with Dependency…
Software Architecture And Patterns
What is Software Architecture? To understand software architecture, or simply architecture, let us discuss a requirement of real life. Let us assume there is a requirement of a one-floor building where in the future we can add some more floors,…
Big O notation
Computer scientists and software developers often need to assess the running time of algorithms. An algorithm is a set of instructions, which a computer must take to solve a particular problem. This set of steps must be finite, which means…
Sorting algorithms
Learning basic sorting algorithms is a bit of a Computer Science 101 class. But many examples out there are either in pesudocode, or languages more suited to large computation (e.x. Python). So I thought I would quickly go over the…
What is a hash table? What is a hash function? How are collisions handled in dictionaries?
Hash Tables, Hashing and Collision Handling In continuation to my data structure series, this article will cover hash tables in data structure, the fundamental operations of hash tables, their complexities, applications of hashing, the various types of collisions and how to handle them. You can read the…
What is the difference between array and List?
C# Array vs List is wherever the abstraction and implementation of people in computing meet. An array is incredibly lot of tied to the hardware notion of continuous, contiguous memory, with every part identical in size (although typically these parts…