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