📅  最后修改于: 2022-03-11 14:49:08.828000             🧑  作者: Mango
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;
}