Unity Scripting: Improve Productivity by using Attributes @PitiITNet
Unity Scripting: Improve Productivity by using Attributes  @PitiITNet
Uploaded February 2022 | Updated September 2026, 2 days ago
In this episode we'll learn how to use attributes provided to us by UnityEngine. I decided to focus on the ones I am using the most, please bear in mind that there are many more and it is definitely worth having a look at the official Unity docs to learn more :).

Got any questions? Join our discord:
discord.gg/hrZF93sCkc

Previous episode about Events:
youtube.com/watch?v=AGGmnVIhHvc
The whole Unity Scripting playlist:
youtube.com/watch?v=DWj_mPUtuqw&list=PLZyYVAihdXAhjdUy-6BVSCh4Qyjh34iiv

#UnityScripting #Attributes #CSharp

00:00 Intro
00:06 What are attributes
00:23 Setup
00:30 [RequireComponent]
01:15 [Header]
01:25 [Tooltip]
01:32 [Space]
01:44 [Range]
01:56 [HideInInspector]
02:09 [SerializeField]
02:24 [ContextMenu]
03:05 [RuntimeInitializeOnLoadMethod]
Unity Scripting: Improve Productivity by using AttributesAdd Health to your game - Player, Enemies and Items with HPSetup URP for 2D Game in 1MIN! Unity tutorial [New Version in the Description]How to make lives counter in Unity?Learn the difference between public, private and serialized - variables visibility in UnityThe Community Game Jam + Tips on how to do well in ANY game jam!Unity Tutorial: Metroidvania style level changing (scene changing)Game Dev Question: Whats the best Game Engine to start with?Make Your First Shooter Game in Unity Today!Unity - 2d Platform Movement - Gliding in under 3min! Learn how gravity affects velocity!Unity Tutorial: Top down shooter movement (mouse and keyboard)Animate your character in Blender (for Unity)
PitiIT |

Unity Scripting: Improve Productivity by using Attributes

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER