HunterData
此内容尚不支持你的语言。
Defined in: gameplay/Hunter.ts:41
The fields of the Hunter component.
Properties
Section titled “Properties”attackInterval
Section titled “attackInterval”attackInterval:
number
Defined in: gameplay/Hunter.ts:45
Seconds between swings.
attackRange
Section titled “attackRange”attackRange:
number
Defined in: gameplay/Hunter.ts:43
Ground-plane distance it closes to before it swings, world units.
cooldown
Section titled “cooldown”cooldown:
number
Defined in: gameplay/Hunter.ts:54
Engine-written: seconds until it may swing again.
enabled
Section titled “enabled”enabled:
boolean
Defined in: gameplay/Hunter.ts:50
idleThreshold
Section titled “idleThreshold”idleThreshold:
number
Defined in: gameplay/Hunter.ts:49
Speed under which the animator is told it is standing still.
rotationSpeed
Section titled “rotationSpeed”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.