Wishlist Fred's Idle Garden 👉 https://store.steampowered.com/app/37...
Download complete Unity project 👉 / unity-character-162171531
📍 Support us on Patreon and help us make more videos like this one ⏩ / prettyflygames
In this Unity tutorial, you'll learn how to create a flexible character customization system by swapping meshes and materials on Skinned Mesh Renderers. This approach makes it easy to build customizable player characters as well as generate hundreds or even thousands of unique NPCs with random appearances.
We'll create a simple but powerful system that lets you dynamically replace character body parts such as heads, bodies, arms, legs, hats, and capes at runtime using only a small amount of code. You'll also learn how to organize your character assets with Scriptable Objects, making the system easy to extend with new clothing, accessories, and character parts.
This tutorial is suitable for both beginners and experienced Unity developers. By the end, you'll have a solid foundation for creating RPGs, survival games, multiplayer games, city builders, or any project that requires customizable or procedurally generated characters.
In this tutorial you'll learn:
How to swap meshes on Skinned Mesh Renderers at runtime.
How to dynamically change character materials.
How to build a modular character customization system.
How to use Scriptable Objects to organize character parts.
How to generate random NPCs with unique appearances in Unity.
How to extend the system with new clothing and accessories.
Whether you want players to create their own unique character or automatically generate diverse NPCs, this technique provides a clean, scalable, and beginner-friendly solution.
Download the assets
https://kaylousberg.itch.io/
Join Our Community!
💬 Discord / discord
Chapters:
00:00 What we'll cover
00:40 Character setup
01:59 Code random character generator
09:39 Scriptable object
15:48 Code better random character generator
27:50 💗Patreon supporters
28:05 More tutorials
#PrettyFlyGames #LearnUnity #UnityTutorials #gamedev