An abstract class in Root.Township, the global namespace.
Base for components on a Projectile that react when it collides.
Constructors
| Member | What it is |
|---|
protected ProjectileComponent() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
Properties
Methods
| Member | What it is |
|---|
protected virtual void Awake() | Hooks the projectile's Collided event. |
protected abstract void ProjectileCollided(Projectile projectile) | Runs when the projectile hits something. |