实验性只读 实验性current只读 实验性default只读 实验性effective只读 实验性effective只读 实验性entity只读 实验性is只读 实验性type静态 只读 实验性component实验性将该属性的当前值重置为定义的默认值。
Resets the current value of this attribute to the defined default value.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性将该属性的当前值重置为定义的最大值。
Resets the current value of this attribute to the maximum defined value.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性将该属性的当前值重置为定义的最小值。
Resets the current value of this attribute to the minimum defined value.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
实验性设置该属性的当前值。提供的值将被限制在该属性的范围内。
Sets the current value of this attribute. The provided value will be clamped to the range of this attribute.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
表示实体的生命值属性。
Defines the health properties of an entity.
示例: applyDamageThenHeal.ts