Skip to main content

BowStringPullbackStructure

A class in Root.Township, the global namespace.

Skill input settings for pulling back a bow string; creates a BowStringPullbackInputMethod.

Constructors​

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

Fields​

4 private and internal fields
MemberWhat it is
private bool isTimingOutBacking field for IsTimingOut.
private float minTimeToPullbackBacking field for MinTimeToPullback.
private float pullbackValueBacking field for PullbackValue.
private float timeoutDurationBacking field for TimeoutDuration.

Properties​

MemberWhat it is
bool IsTimingOut { get; }Whether the input times out after TimeoutDuration.
float MinTimeToPullback { get; }Seconds the string must be held back. Defaults to 2.
float PullbackValue { get; }How far the string must be pulled, probably 0 to 1. Defaults to 0.7.
float TimeoutDuration { get; }Seconds before the input times out, when IsTimingOut is on.

Methods​

MemberWhat it is
override ISkillInputMethod GetNewInput()Returns a new BowStringPullbackInputMethod.

Used in​

Members of other types that take, return or hold a BowStringPullbackStructure: