Bow
A class in Root.Township, the global namespace.
Networked bow component on a pickup prefab. Holds the hand rest points used when drawing, mirroring the right rest to make a left one.
- Listed in Global namespace: A to B
- Inherits or implements
NetworkEntityBehaviour - Attributes
RequireComponent
Constructors
| Member | What it is |
|---|---|
Bow() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
bool IsPickup { get; } | Serialized flag, true by default. Probably marks whether the bow is held as a normal pickup. |
Transform LeftHandRest { get; private set; } | Rest point for a left-handed draw, created at runtime by mirroring RightHandRest. |
Pickup Pickup { get; } | The entity's common pickup. |
Transform RightHandRest { get; } | Rest point on the bow for a right-handed draw. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a Bow: