Summary
A component which uses a
UnityEngine.PolygonCollider2D
trigger to PlatformerGameKit.Hit
things.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["HitTrigger"]
class Type type-node
Syntax
[AddComponentMenu(Strings.MenuPrefix + "Hit Trigger")]
[PlatformerHelpUrl(typeof(HitTrigger))]
public class HitTrigger : MonoBehaviour
Remarks
Documentation:
Melee Attacks
Attributes
Type | Description |
---|---|
AddComponentMenu | |
Platformer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.
|
Properties
Methods
Name | Value | Summary |
---|---|---|
Activate |
HitTrigger |
static
|
Deactivate |
void | |
FixedUpdate |
void | |
OnValidate |
void |
[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.
|
PreAllocate |
void |
static
|