Skip to main content

PickupButtons

A class in Root.Township, the global namespace.

Component on a pickup with buttons that stops the buttons' colliders counting as the pickup's own colliders.

Constructors​

MemberWhat it is
PickupButtons()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

1 private and internal method
MemberWhat it is
private void Start()Removes every child PhysicalButton collider from the pickup's Colliders list.