SensorBase
顯示已棄用項目
*此內容很快就會推出您所選的語言版本。
A SensorBase is an instance that, when parented to a BasePart, outputs additional data about the world around that part. This data is presented in the sensor's "output" property category. Often, other systems will consume the sensor's output data.
概要
屬性
Determines how the sensor will update its output data.
屬性
UpdateType
Determines how the sensor will update its output data.
With Enum.SensorUpdateType.OnRead, internal sensor logic is run so that the output properties are always up to date. In this mode, the sensor will only run if you read the properties and they are currently outdated.
With Enum.SensorUpdateType.Manual, the output properties will never change. Instead, you can write your own scripts to set the output properties as you like.