Skip to main content

HandTouchTask

A class in Root.Township, the global namespace.

Game task action that completes when a player touches one of the listed prefabs with a hand (raised by HandHoverPoint).

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private List<uint> targetHashesPrefab hashes that count for this task.

Properties​

MemberWhat it is
override GameActionChannel Channel { get; }Always GameActionChannel.HandTouch.

Methods​

MemberWhat it is
protected override bool IsValid(HandTouchTaskArgument argument)True if the touched prefab hash is in targetHashes.