Summary
Creates a new
PlatformerGameKit.Hit with the specified details.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- Hit
Syntax
public Hit(Transform source, Team team, int damage, float force, Vector2 direction, ICollection<Hit.ITarget> ignore = null)
Parameters
| Name | Type | Description |
|---|---|---|
| source | Transform | |
| team | Team | |
| damage | int | |
| force | float | |
| direction | Vector2 | |
| ignore | ICollection |
Return Value
| Type | Description |
|---|---|
| void |