InNerd For TechbyJared AmlinHit System with Interfaces in UnityHave you ever wondered how first and third person shooter games handle their hit system? You know the kind I am talking about, where…Mar 22, 20242Mar 22, 20242
InNerd For TechbyJared AmlinUnity Physics: Predicting Trajectories with Physics SimulationsIt is commonplace these days to see a trajectory UI when the player is getting read to throw an object. This article covers how to…Aug 9, 2024Aug 9, 2024
InLevel Up CodingbyJared AmlinScriptable Singleton in Unity: Saving Persistent DataDisclaimer: This uses the UnityEditor namespace, which gets removed in a build. This is an editor tool only.Jan 9, 2024Jan 9, 2024
InLevel Up CodingbyJared AmlinQuaternions and Euler Angles in UnityWhen handling rotations in Unity, you may have come across quaternions before. Using quaternions has become a popular way to perform…Jun 2, 2023Jun 2, 2023
InLevel Up CodingbyJared AmlinScriptable Objects in UnityScriptable Objects are highly performant data containers that are specific to Unity. Using Scriptable Objects in your project is a great…Mar 20, 20231Mar 20, 20231
InLevel Up CodingbyJared AmlinGame Design Patterns: FlyweightUsing the flyweight pattern is a great way to optimize performance in your game, especially concerning large volumes of prefabs (reusable…Jan 17, 2023Jan 17, 2023
InLevel Up CodingbyJared AmlinGame Design Patterns: ObserverThe observer pattern is all about using delegates and events, so objects can notify other objects when their state has changed. The object…Jan 11, 2023Jan 11, 2023
InLevel Up CodingbyJared AmlinGame Design Patterns: SingletonThere are at least two beneficial reasons for using the singleton design pattern. The fist, is granting global access to a class that is…Jan 5, 20231Jan 5, 20231
InLevel Up CodingbyJared AmlinGame Design Patterns: Object PoolingUsing Object Pooling is all about optimizing your game, and is incredibly handy for mobile games development. When considering something…Jan 6, 2023Jan 6, 2023
InLevel Up CodingbyJared AmlinGame Design Patterns: CommandOne place you might need to regularly use the command pattern, is when making enterprise applications. Using the command pattern gives your…Jan 10, 2023Jan 10, 2023
InLevel Up CodingbyJared AmlinAn Introduction to LINQ in UnityUsing LINQ, which stands for Language Integrated Query, allows you to filter, sort and search through data. You also have the ability to…Jan 2, 2023Jan 2, 2023
InLevel Up CodingbyJared AmlinSimple Callback System with Anonymous MethodUsing what has been learned in the past few articles about delegates and lambda expressions, let’s take a look at setting up a basic…Dec 3, 2022Dec 3, 2022
InLevel Up CodingbyJared AmlinDelegates Part 4: Lambda ExpressionsUsing a Lambda Expression is a great way to convert a method into a line of code. Let’s use one of the method examples from my previous…Dec 3, 2022Dec 3, 2022
InLevel Up CodingbyJared AmlinDelegates Part 3: Return and Functional TypeUnlike with void type delegates, return type delegates need to return a value. Let’s dig into declaring and using return type delegates and…Nov 17, 20221Nov 17, 20221
InLevel Up CodingbyJared AmlinDelegates Part 2: ActionsThe functionality of Actions is the same as using delegates and events, only with one line of code instead of two. Actions themselves are…Nov 17, 2022Nov 17, 2022
InLevel Up CodingbyJared AmlinDelegates and Events Part 1: Void TypeThere is a powerful combination to be found with delegates and events, and they are very useful together when using Unity’s new input…Nov 16, 2022Nov 16, 2022
InLevel Up CodingbyJared AmlinInterfacesInterfaces are similar to abstract classes, because they force implementations. The main difference is that abstract classes are more of a…Nov 8, 20221Nov 8, 20221
InLevel Up CodingbyJared AmlinAbstract Classes and MethodsUnlike typical class inheritance, abstract classes force class inheritance onto the classes inheriting from the base class. The base class…Oct 28, 20221Oct 28, 20221
InLevel Up CodingbyJared AmlinClasses in C# using UnityWhat are classes, custom classes, and class inheritance? In this article, I will dive into those questions and more. Class is in session!Apr 11, 20223Apr 11, 20223
InLevel Up CodingbyJared AmlinWorking with Arrays Part 1: The BasicsWhat is an Array and how is it useful? An array is a type of variable that can hold multiple values for the same data type. They are useful…Aug 10, 2021Aug 10, 2021