Renaming a Field Without Losing the Value in the Inspector (Unity Tip) @KetraGames
Renaming a Field Without Losing the Value in the Inspector (Unity Tip)  @KetraGames
Uploaded February 2021 | Updated September 2026, 2 weeks ago
In this Unity quick tip we're going to look at how we can rename fields in a script without losing the values we have set in the inspector.

If you prefer written instructions you can find a link to the text version here - ketra-games.com/2021/02/renaming-a-field-without-losing-the-inspector-value-unity-game-tutorial.html

00:00 - Introduction
00:20 - Demonstration of how field values are lost when renaming
01:41 - Renaming fields safely using the FormerlySerializedAs Attribute
Renaming a Field Without Losing the Value in the Inspector (Unity Tip)Save Hours in Unity with This Simple Tip!Simplify Terrain Creation With Brush Mask Filters (Unity Tutorial)Add Collisions and Gravity to Your Unity Character in Minutes!Sliding Down Slopes (Unity Tutorial)Easily Combine Animations in Unity | Animation Layers ExplainedRequire Component Attribute (Unity Tip)Using Terrain Tools to Create 3D Landscapes (Unity Tutorial)Assigning a Range to a Field (Unity Tip)How to Create Custom Gizmos (Unity Tutorial)How to Create a Health Bar (Unity Tutorial | 2D Top Down Shooter)Pause Your Game the Easy Way! (Unity Tutorial)
Ketra Games |

Renaming a Field Without Losing the Value in the Inspector (Unity Tip)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER