FCV Engine 0.1
A tool and framework for tutorials in game development
Loading...
Searching...
No Matches
JumpStrikeEliminator Class Reference

Destroys the gameobject when an object in the layermask jumps on it. More...

Inheritance diagram for JumpStrikeEliminator:

Private Member Functions

void OnCollisionEnter2D (Collision2D other)
 Checks if collided object is inside a specified FOV and layer mask; destroys the GameObject it is attached to if succeeds with checks.
 

Detailed Description

Destroys the gameobject when an object in the layermask jumps on it.

Definition at line 9 of file JumpStrikeEliminator.cs.

Member Function Documentation

◆ OnCollisionEnter2D()

void OnCollisionEnter2D ( Collision2D other)
private

Checks if collided object is inside a specified FOV and layer mask; destroys the GameObject it is attached to if succeeds with checks.

Parameters
other

Definition at line 18 of file JumpStrikeEliminator.cs.


The documentation for this class was generated from the following file: