IShootable
An interface in Root.Township, the global namespace.
A projectile a bow can fire, such as Arrow or a light beam. Used by ExtraArrowUpdater for extra arrows.
- Listed in Global namespace: I to L
- Derived types
Arrow,Projectile
Properties
| Member | What it is |
|---|---|
NetworkEntity Entity { get; } | The projectile's network entity. |
Rigidbody Rigidbody { get; } | The projectile's rigidbody; kept kinematic while it rides on the bow. |
Transform transform { get; } | The projectile's transform. |
Methods
| Member | What it is |
|---|---|
void Shoot(Vector3 velocity) | Launches the projectile with the given velocity. |
Used in
Members of other types that take, return or hold a IShootable: