示例#1
0
        public void OnXueChange(int val)
        {
            if (val <= 0 && IsActive)
            {
                PrefabPoolingSystem.Instance.Despawn(gameObject);
            }

            Health.ChangePercent((float)val / MaxXue);
        }