TarodevFind what common Unity optomizations truly make a difference. In this video I go over a bunch of interesting optimization tips as well and give you my recommendations on each.
Keep your code running fast with as little garbage allocation as possible by learning from these important concepts.
Unity Code Optimization - Do you know them all?Tarodev2022-03-13 | Find what common Unity optomizations truly make a difference. In this video I go over a bunch of interesting optimization tips as well and give you my recommendations on each.
Keep your code running fast with as little garbage allocation as possible by learning from these important concepts.
0:00 intro 0:12 SendMessage 1:22 Extern call caching 3:02 Vector3.Distance vs SqrMagnitude 4:20 Find Objects 6:44 NonAlloc 9:34 Camera.main 10:51 Linq vs loops 13:16 Stringbuilder 14:20 Order of operationsUnity async / await: AwaitableTarodev2023-09-06 | In this follow-up video, we explore the Awaitable class introduced in Unity 2023.1, which aims to improve asynchronous programming workflows.
Topics Covered: 1. Learn about the new Awaitable.WaitForSecondsAsync, NextFrameAsync, EndOfFrameAsync & FixedUpdateAsync. 2. Learn about cancellation tokens and simplified workflows with MonoBehaviour's new built-in destroy token. 3. Efficiently switch between main and background threads using Awaitable.MainThreadAsync and Awaitable.BackgroundThreadAsync methods. 4. Manage your long-running tasks with WhenAll 5. WebGL support 6. Backward compatibility for AsyncOperations.
Like the video if it's helpful, and feel free to subscribe for more straightforward Unity tutorials and tech demos.
For questions or comments, please leave them below.
#Unity #Unity2023 #AsyncAwait #GameDevelopment #Programming #Awaitable #CancellationTokens #ThreadSwapping #webglUI Toolkit Primer - Build UIs like a ProgrammerTarodev2023-08-29 | Building interfaces is now effortlessly simple with the powerful new UI Toolkit. I'll guide you through how I, as a programmer, construct these interfaces and walk you through the essential fundamentals of the UI Toolkit.
Dive deep into topics including styling with USS, animations, transitions, decoupled UI, and much more.
0:00 Showcasing UI Toolkit features 02:38 What we'll be building 03:00 Brief overview of the UI Builder 04:44 Brief overview of UXML 06:42 Building interfaces like a programmer 26:44 UI Toolkit animationDont make grids without knowing THIS in UnityTarodev2023-07-16 | Utilizing this component dramatically simplifies the task of designing a grid. By defining the parameters such as tile size, gap, and type within the Grid Component, it automatically computes world positions based on the specified grid indices. This reduces the complexity of placement, ensuring an efficient and streamlined grid creation process. Thanks GPT, lol :)
Let's discover the true potential of Unity by pushing its limits. In this video, we'll explore a variety of techniques, from straightforward tweaks like data-oriented design, to more advanced methods such as direct GPU rendering and compute shaders. Join us as we uncover the power and flexibility that Unity has to offer!
Utilizing Cloud Save in your game enables effortless synchronization of player data to the cloud, eliminating the need for intricate backend configurations. This service is free of charge until your player base reaches a substantially large number.
Incorporating Cloud Save in your game offers numerous advantages and quality of life enhancements for your players, making it an essential addition:
1. Synchronize data across various devices and consoles: Enable players to access their game progress, regardless of the device or console used, providing a seamless gaming experience. 2. Preserve save data between installations: Ensure that players can retain their game progress even after uninstalling and reinstalling the game, enhancing player retention. 3. Monitor key player achievements: Maintain a record of significant player accomplishments, promoting a sense of progress and engagement. 4. Backup player settings: Safeguard player configurations, preventing data loss due to unforeseen circumstances such as device failure or accidental deletion.
And much more! Cloud Save provides a host of other benefits that contribute to an improved gaming experience for your players.
Don't miss out on this valuable addition to your game; implement Cloud Save today and elevate the player experience to new heights.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodev10 Things You NEED to Be Doing in UnityTarodev2022-11-11 | A collection of vital tips and techniques I use in Unity every day. Some are Unity specific, while some are just good programming practices. Let me know if I taught you anything!
0:00 Intro 0:08 Serializing components 1:18 Drawing scene gizmos 1:35 Initialization order 2:31 Stop using public fields 4:30 Mod to loop collections 5:04 PlayClipAtPoint 5:55 Limit extern calls with SetPositionAndRotation 6:53 Operator overloading 8:17 Composition 8:56 Don't use lazy naming conventionsUnity Collision Cheat-Sheet โ Discrete vs ContinuousTarodev2022-10-17 | Each collision mode offers a unique collision mechanic. Knowing which one to use is key for solid gameplay and performance.
Discrete is the most performant option and should be used whenever possible. Calculations collisions each fixed step.
Continuous uses a sweeping algorithm to guarantee collisions from a linear motion, but is quite a bit more expensive than discrete and only hits static colliders (no RB).
Continuous dynamic is the same as continuous, but hits dynamic colliders (and is more expensive).
Continuous speculative creates a bounding box around itself and its next projected frame position according to its current linear and angular motion. Anything caught within will collide.
0:00 Discrete 0:40 Continuous 1:05 Continuous Dynamic 1:25 Continuous SpeculativeHow to setup Global Matchmaking for UnityTarodev2022-07-23 | Global matchmaking has never been easier with Unity's new Lobby and Relay systems. With just a few lines of code you can match players from around the world to play together. Bypass network hassles using relay and create customized games using lobby.
0:00 Intro 0:20 Install packages 0:40 Setting up Unity Gaming Services 1:30 Setting up Relay 7:20 Setting up LobbyAnimate like a ProgrammerTarodev2022-07-06 | As a programmer, using the Unity animator can feel like you're losing some control over your game. We can manage our animation transitions entirely from code... Animation will feel as natural as your player controller script.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevHow to: Unity Online MultiplayerTarodev2022-06-22 | Netcode for Unity is an amazing real-time multiplayer solution, which is part of the wider Unity Gaming Services.
In this video you'll learn: How to get started with Netcode The different between server & client authority and when to use each How to write performant network code How to use NetworkVariable & INetworkSerializable Cheap multiplayer interpolation What ServerRPC & ClientRPC are Some tricks to make your multiplayer game feel great
0:00 Intro 0:20 Installation 1:00 ParrelSync 1:26 Network Manager 1:45 Unity Transport Layer 2:18 Player prefab/Network Object 4:09 What is a host, server & client? 6:15 Only control your local object 7:40 Syncing data using ClientNetworkTransform 8:30 Serializing manually using NetworkVariable 11:25 Custom network serialization using INetworkSerializable 14:10 Interpolating network movement (hillbilly style) 14:33 Reducing network traffic 15:30 Calling server code using ServerRPC 17:00 Server vs client authority 19:45 Adding simulated latency 20:45 Trick to make server authority feel good 21:35 Subscribing to network changesSine Waves VisualizedTarodev2022-05-20 | Learn how to use sin and cos waves. I use unity here but, but the math is agnostic
Sine and Cosine are fundamental to game development. Once you understand how Mathf.Sin and Mathf.Cos work, you'll find yourself reaching for them all the time. You can create circles and waves, make things hover, create orbits, add enemy behavior, etc.
REUPLOADED: My original voiceover was horrible quality and quite cringe. I also wanted to fix the low bitrate.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevValue & Reference types in C#. Write Better Code!Tarodev2022-05-15 | Value vs reference types. Stack vs heap. These are fundamental concepts to understand if you wish to write performant code. Learn the characteristics of value and reference types and how they're allocated to memory. Learn how StackOverflowException occurs and how to fix and prevent them.
0:00 - whatever, intro I guess 0:37 - value types / structs 2:00 - reference type / class 3:00 - stack & heap 3:27 - stack example 5:57 - heap example 8:47 - when to use one over the other 11:30 fix StackOverflowException 13:15 - Bonus: stringsProject Initialization - Unity ArchitectureTarodev2022-05-05 | Preload scenes are the past man. Initialize your required assets easily using the RuntimeInitializeOnLoadMethod attribute. Prevent race conditions and dependency hell with this neat trick.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevLocal Functions in C# - Stay Inside MeTarodev2022-04-24 | Learn about local functions and how you can use them for cleaner, more performant code.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevCreating a hyper casual game in 3 hoursTarodev2022-04-16 | Today I recreated a hyper-casual mobile game I saw my son playing: Gun Sprint. Something called to me when I saw the fun mechanic and I felt compelled to recreate it, in Unity of course.
It involved a bit of fun problem solving using a few different Unity techniques, so hopefully you can learn something. If not, just have fun watching :)
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevUnity tips to improve your efficiencyTarodev2022-04-09 | A bunch of assorted Unity tips in no particular order. Let me know if I taught you something new ๐
0:00 Flexible start method 0:19 RuntimeInitializeOnLoadMethod 0:50 Fix broken animations 1:20 Debug inspectorCreate a server for your Unity game using .NET Core (Part 2)Tarodev2022-04-02 | Create a custom server using .NET Core and host it in the cloud to act as your games backend. A custom server specifically designed for your game gives you the greatest freedom to deliver your ideal product.
In this video we learn about: Database management using an ORM (Entity Framework) Authentication & Authorization Json Web Tokens (JWT) A bunch of common attack vectors and security tricks Password security (hashing & salting) Environmental variables
A custom server you can provide your game with features such as: Achievements, leaderboards, synced player data, guilds, friends lists, real time chatting, loot boxes, matchmaking, player progress, and much much more.
45:30 - Advanced Authorization / Changing Hero Name 50:05 - ClosingCreate a server for your Unity game using .NET CoreTarodev2022-03-26 | Create a custom server using .NET Core and host it in the cloud to act as your games backend. A custom server specifically designed for your game gives you the greatest freedom to deliver your ideal product.
In this video we learn how to: Setup a server and class library to share models and logic across our server and game. I'll give you a rundown on what a server & API is Communication between server and client How to run tests using dependency injection In part two we add authentication & authorization, and we hook it all up to a database.
A custom server you can provide your game with features such as: Achievements, leaderboards, synced player data, guilds, friends lists, real time chatting, loot boxes, matchmaking, player progress, and much much more.
0:00 - Overview 0:47 - Solution + Project Setup 2:43 - SharedLibrary 4:20 - PlayerController 5:43 - Get 6:45 - Post 7:49 - FromQuery 9:31 - Program.cs Cleanup and Overview 11:11 - Adding a Service + Dependency Injection 15:03 - Postman 16:14 - Unity Project Setup 17:17 - Sharing Models via DLLs 19:37 - Unity Web Request 21:00 - JSON workarounds / bugfixes 23:39 - Get from server endpointC# Events & DelegatesTarodev2022-03-18 | Events are great for crossing boundary lines in your application or game without coupling components together. Objects can subscribe to an event and be notified whenever the publisher performs a specific action.
Delegates are the building blocks of events, so listen closely and you'll learn all about them!
0:00 - Delegate keyword 3:48 - EventHandler 4:34 - Action 5:13 - Generic Action 6:02 - Func 6:40 - Practical Example 7:50 - Static 9:05 - Event keyword 10:20 - UnityEvent 12:30 - Unsubscribing 14:50 - Decoupling 16:20 - Delegates as parametersGaming Backend (leaderboard, inventory, guilds and more)Tarodev2022-03-06 | If you require a backend for your game, but don't want the hassle of building, hosting and maintaining your own server, LootLocker is a great option. You'll have achievements, leaderboards, guilds, inventory and more setup in just a few hours.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevTimetrial Ghosts in UnityTarodev2022-02-25 | Record your characters movement and play it back for time trial races and other cool effects. Adding ghosts to your game provides friendly competition between friends and lets players observe how the worlds best went about handling a level.
Prevent hours of lost work with auto save. I built this after losing 2 hours of level design work and so far it's been wonderful... So I thought I'd share it with the world. Hope it can help you too!
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevResponsive Camera Design in UnityTarodev2022-02-09 | Cameras can be tricky, especially when you need to factor in different screen sizes and aspect ratios. I'll show you how to keep all of your elements on screen at all times. Perfect for puzzle games, multiplayer games.. or any games I suppose. This will even work if you flip your phone from landscape to portrait!
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevHow to make a Homing Missile in Unity with Trajectory Prediction (source included)Tarodev2022-01-26 | Homing missiles are fun as hell, so let's make one. This rocket will predict future motion using velocity. We'll also use cosine to make the rocket trajectory more interesting.
Make sure you leave a like on the video if you enjoyed it :)
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevUnity Script Templates - Changing default script contentTarodev2022-01-21 | // Update is called once per frame I freaking get it, stop showing me!
Donโt put up with the standard Unity templates, make your own! Change the default content in created assets.
This Unity character controller is built using custom physics and incorporates all the hidden tricks to make it feel amazing. 2D player controllers can be difficult to get right, so hopefully this helps you along your way and gives your game a boost in productivity.
Features: Variable jump height Apex modifiers Jump buffering Coyote time Clamped fall speed Ledge detection
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevObject References in Unity - How to Communicate Between ScriptsTarodev2022-01-12 | PSA: The "Unit" class is a simple class I created to represent a unit in my game. It's NOT an inbuilt class. Sorry for the confusion.
As a new dev, keeping references to game objects you need can be a little confusing. Learn how to store game objects for later use as well as allowing external scripts access to your goodies.
Instead of trying to find an object, shift your thought pattern a little and ask "should I already know where this object is?".
0:50 - Find Methods 1:45 - GameObject from Instantiate 2:33 - Component from Instantiate 3:49 - Multiple Components 4:59 - Static Instance 5:42 - Public Access Modifier 8:08 - Constructors 9:20 - MonoBehaviour "Constructor" (Init) 11:00 - OnCollision 11:50 - TryGetComponent 12:41 - GetComponent 13:03 - SendMessage 13:35 - ClosingSprite Shadows in Unity - Cast and receive shadows using a SpriteRendererTarodev2022-01-05 | Casting shadows from your sprites is as simple as pie. For some reason, Unity hides this by default, but I'm here to abuse the system and show you how to turn it on.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevUnity Architecture for Noobs - Game StructureTarodev2021-12-29 | Unity Architecture is one of those things which can completely overwhelm new devs. This video will introduce you to a handful of architectural design patterns, which shy away from over-engineering, allowing you to learn the basics and get on with developing your game. Simple patterns are perfectly fine for most projects solo devs and small teams set their sights on.
0:00 - Intro 0:50 - Hierarchy (Scene structure) 2:17 - Project (Folder structure) 3:00 - Singleton Managers 3:58 - Game Manager 5:47 - Unit Manager 6:12 - Scriptable Objects 8:22 - Persistent Systems 9:18 - Audio System 9:38 - Resource System 10:44 - Unit hierarchy 14:33 - Utilities 15:00 - Rest of Folders 15:18 - That's it (+announcement)Unity Vector3.Cross VisualizedTarodev2021-12-22 | Vector3.Cross provides you with the cross product of two vectors. Vector3.Cross is easy to understand, but sometimes hard to find applicable uses for when just starting out.
I'll teach you what a cross product is, how to use vector3 cross, and a real-world use case for it (all in 90 seconds!)
Vector3.Cross official description: Cross Product of two vectors.
The cross product of two vectors results in a third vector which is perpendicular to the two input vectors. The result's magnitude is equal to the magnitudes of the two inputs multiplied together and then multiplied by the sine of the angle between the inputs.Unity Slerp Visualized - Like lerp, but rotundTarodev2021-12-17 | Vector3.Slerp is the unpopular younger brother of lerp, but it doesn't need to be that way! It has a load of utility once you learn how it works.
I'll teach you what slerp is, how slerp works and how to use slerp... slerp
Slerp official description: Spherically interpolates between two vectors.
Interpolates between a and b by amount t. The difference between this and linear interpolation (aka, "lerp") is that the vectors are treated as directions rather than points in space. The direction of the returned vector is interpolated by the angle and its magnitude is interpolated between the magnitudes of from and to.Procedural Animation in UnityTarodev2021-12-14 | find life...
Started making a procedural animation tutorial and ended up making a thing. Created in Unity/C# using inverse kinematics and procedural animation.
If you enjoy my content and would like to support me, you can purchase assets from the Unity asset store using my affiliate link: bit.ly/3yratKw It comes at no additional cost to you, I will just receive a commission :)C# Extension MethodsTarodev2021-12-09 | Extension methods grant you the ability to extend classes you might not own without deriving from the class or modifying the original type. Add methods to any class and access them like you would any native instance method.
Perfect for extending base unity types, like Vector and SpriteRenderer.
0:00 What are extension methods? 1:00 Our first extension method 3:10 Extending the list class 5:43 Extending the string type 7:00 Extension method call priority 9:15 Useful extension methodsC# Beginner TipsTarodev2021-12-03 | Learning C# can be daunting, as with any new skill, But I'm here to help. It's okay to be a noob. We were all noobs at one stage. In these mini installments I'll be going over some very basic concepts and code practices to help you on your way.
0:00 - Implementing IDisposable 1:13 - Conditional Order 2:29 - Utilizing Setters 3:28 - Invert If Statements 4:40 - Null-Coalescing Operator 5:08 - String Builder 6:18 - Print() 6:37 - That's it.C# IEnumerable & IEnumeratorTarodev2021-11-28 | IEnumerable and IEnumerator play an integral part in your day-to-day development, whether you know about them or not! They can also yield strange results if you don't know how they work.
In this video I'll show you what they do, how they work and how you can create your own enumerable classes.
This video is sponsored by Jet brains. Check out their amazing software suite here: jb.gg/vp1aem
00:00 - Intro 00:20 - First example (Heroes of Olympus) 4:00 - Second example (Query behaviour / Random) 6:16 - ToList() tradeoffs - pros & cons 8:03 - ToList() example 9:24 - Example benchmark 11:33 - IDE love 13:30 - One at a time 16:45 - Linq benefits on IEnumerables 18:00 - Custom IEnumerator 21:41 - Generic IEnumerator for Linq queries 23:56 - SummaryUnity - Keep your project fast & reduce clutter! [Asset Management]Tarodev2021-11-24 | Just a quick tip on asset management. Only import exactly what you need. Speed up your project and keep it lean.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevUnity Gizmos - Every gamedev should know this!Tarodev2021-11-20 | Learn what a gizmo is and how to use them effectively. Gizmos are a fantastic help to you in development. Setup indicators for raycasts, map confines, grid positions, etc. It's among the first thing I do when creating a new scene.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevPathfinding - Understanding A* (A star)Tarodev2021-11-16 | Pathfinding can be a fundamental component of your game. Truly understanding how it works gives you fine-grained control of how units interact with the environment.
Learn how A* pathfinding truly works by diving deep into the mechanics. We'll go step by step through each process as well as cover the edge cases not often talked about.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevC# Generics - The complete guideTarodev2021-11-05 | C# generics allow users to define classes and methods with a placeholder type. This provides amazing code re-usability while still retaining type safety.
In this video, I'll teach you what generics are, how to use them and provide a few real-world use cases to get your head around them.
I use game-like examples so you can see how you would use generics in your Unity development ๐ฎ
0:00 What are generics 1:20 Writing a generic class 11:36 Generic Type creation 15:13 Generics and InterfacesFix Visual Studio Autocomplete/Intellisense in Unity - (2022, 2019, 2017)Tarodev2021-11-05 | Unity sometimes does not link to Visual Studio correctly and this can cause a lack of auto-complete and Intellisense, as well as not providing any squigglies for errors.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevDOTWEEN is the BEST Unity asset in the WORLD and Ill fight anybody who disagreesTarodev2021-11-02 | DOTween is the very first thing I install upon creating a new project. Animate your position, rotation and scale in a single line of code, with all the customization you could hope for... and that's only scratching the surface.
00:00 Stupid Intro 00:20 What is DOTween / Installing 02:00 DOTween basics 08:35 Sequences and Tasks 14:37 Additional features 17:55 DOVirtual - Tweening values 18:55 SpeedBased for reliable speed over distanceGradient Background in UnityTarodev2021-11-01 | Beautiful gradient backgrounds are quick and easy to setup with this little trick. You can create a wide array of eye-catching visuals by just altering the gradient you import! Experiment and have fun :)
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevObject Pooling in Unity 2021 is Dope AFTarodev2021-10-30 | Unity has graced us with our very own built-in object pooling! I'll show you how to get up and running with it, show you the drastic performance boost it can provide as well as lightly touch on a few of the other pool classes like the GenericPool.
Here's the base class I mentioned in the video: bit.ly/3nI3ubh
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevIsometric Character Controller in UnityTarodev2021-10-26 | Isometric movement may seem easy at first, until you realize your character does not move according to your input... I show you how to skew your navigation input to allocate for the rotation of the camera.
DISCLAIMER: I missed a few things in the video which are corrected in the script below. Script: bit.ly/3BeDwB7
0:00 Intro 0:20 Gathering Player Input 1:05 Moving a Character 3:00 Rotating a Character 7:10 Fixing Isometric NavigationIsometric Camera In UnityTarodev2021-10-24 | Setting up an isometric camera in Unity is super easy! This is the first part in a series showcasing a few key concepts required to make an isometric game.
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevUnity Sprite Swap FeatureTarodev2021-10-15 | In this episode, I show you the new Unity sprite swap feature which allows easily swapping out sprites. This can be used for full units, armor sets and even mouths/eyes for dialogue systems.
This is the 2nd and final part of this series. Part 1 can be found here: youtu.be/vLDK0eHwsho
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevHow to animate your Photoshop characters in UnityTarodev2021-10-13 | Using Unity's amazing 2D stack (2D animation, PSD Importer, Sprite Swap), you can streamline your 2D workflow for a huge production boost to your development. We'll use IK (inverse kinematics) to assist us creating life like animations as well as setting up an easy way to swap sprites out, like weapons and armor. Not only that, we will reuse the same skeleton and animations across multiple units!
๐ SUBSCRIBE: bit.ly/3eqG1Z6 ๐จ๏ธ DISCORD: discord.gg/tarodev โ MORE TUTORIALS: youtube.com/tarodevUnity async / await: Coroutines Hot Sister [C# & Unity]Tarodev2021-10-09 | The C# async / await workflow can simplify your code and give you more granular control over your game in Unity.
Learn how to convert your current coroutine workflow, what a task is, how to run sequential and synchronous code and how to return data from an asynchronous function.
UniTask: github.com/Cysharp/UniTask (Provides an efficient allocation free async/await integration for Unity)
0:00 Super professional intro 0:30 Standard coroutine workflow 1:19 Converting to async / await 2:44 Use-cases of async / await 3:10 Running functions sequentially 6:00 Waiting for synchronous tasks to complete 10:20 Mixing sequential and synchronous tasks 11:00 Returning data from an async function 14:20 Calling an async function from a non-async function 15:10 WebGL caveat 15:45 Other advanced async techniquesYou NEED to know this! - Master debugging in Unity & C#Tarodev2021-10-01 | There is nothing exciting about debugging, but it's such a vital tool for any developer. Train your debugging skills now and you'll save an unfathomable amount of hours searching through your code trying to find bugs.