跳转到内容

Marker

此内容尚不支持你的语言。

const Marker: ComponentDef<MarkerData>

Defined in: component.ts:860

A named point/region of gameplay interest, placed in the editor as a real entity. On its own (Transform + Marker) it’s a spawn point / waypoint / location marker; add a sensor collider (the Trigger Area preset) and it’s a trigger zone. Pure ECS — no parallel “object layer” structure — so it serializes, shows in the Inspector, and is Query-able like any component. The converged target for imported .tmj object groups.