跳转到内容

HunterData

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

Defined in: gameplay/Hunter.ts:41

The fields of the Hunter component.

attackInterval: number

Defined in: gameplay/Hunter.ts:45

Seconds between swings.


attackRange: number

Defined in: gameplay/Hunter.ts:43

Ground-plane distance it closes to before it swings, world units.


cooldown: number

Defined in: gameplay/Hunter.ts:54

Engine-written: seconds until it may swing again.


enabled: boolean

Defined in: gameplay/Hunter.ts:50


idleThreshold: number

Defined in: gameplay/Hunter.ts:49

Speed under which the animator is told it is standing still.


rotationSpeed: number

Defined in: gameplay/Hunter.ts:47

How fast it turns to face, degrees per second.


state: string

Defined in: gameplay/Hunter.ts:52

Engine-written: one of idle / chase / attack / dead.