实验性
只读
实验性
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