In this video, we will explore different types of variables in C#, mainly int, float, string, and bool types. Int is used for integers whereas float can cover a wide range of numbers including decimals and negative numbers. Sring is used for characters and bool is a special type of variable that holds two types of values, (true or false). We will also learn about the serialized field attribute in C# that helps unity to access private variables.
VID10 A Game Of variables C# | Unity Tutorial in Hindi