Summary
Can the `gameObject` be hit by the
Current
?- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- Hit
Syntax
public bool CanHit(GameObject gameObject, bool resultIfNoTarget = false)
Parameters
Name | Type | Description |
---|---|---|
gameObject | GameObject | |
resultIfNoTarget | bool |
Return Value
Type | Description |
---|---|
bool |