Skip to main content

VelocitySense

A class in Root.Township, Alta.Intelligence.

Sense asset meant to give a target's speed. Every target returns 0 in this build, since nothing overrides GetVelocity.

Constructors​

MemberWhat it is
VelocitySense()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Methods​

MemberWhat it is
override float Get(IAgent requester, ITarget target)The target's GetVelocity, which is always 0 in this build.