Answers for "how to put a header in c# unity"

C#
6

how to put a header in c# unity

using UnityEngine;public class Example : MonoBehaviour
{
    [Header("Health Settings")]
    public int health = 0;
    public int maxHealth = 100;    [Header("Shield Settings")]
    public int shield = 0;
    public int maxShield = 0;
}
Posted by: Guest on March-25-2020

Code answers related to "how to put a header in c# unity"

C# Answers by Framework

Browse Popular Code Answers by Language