Summary
Calls
PlatformerGameKit.Hit.ITarget.ReceiveHit(PlatformerGameKit.Hit@) if the `target` can be hit by the Current.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- Hit
Syntax
public bool TryHit(Hit.ITarget target, bool dontHitAgain = true)
Parameters
| Name | Type | Description |
|---|---|---|
| target | Hit |
|
| dontHitAgain | bool |
Return Value
| Type | Description |
|---|---|
| bool |