Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
SethFollowerScript Class Reference

Detailed Description

Simple enemy script designed for a "Seth Follower" enemy. This script is separate from the existing entity systems.

Documentation updated 1/27/2025

Author
Michael Leahy
Deprecated
Please use the more developed entity systems to make new enemies.

Public Attributes

GameObject player
 
PlayerHealth playerHealth
 
float speed
 
int damage
 
float distanceBetween
 

Private Member Functions

void Update ()
 
void OnCollisionEnter2D (Collision2D collision)
 

Private Attributes

float distance
 

Member Function Documentation

◆ OnCollisionEnter2D()

void SethFollowerScript.OnCollisionEnter2D ( Collision2D collision)
private

◆ Update()

void SethFollowerScript.Update ( )
private

Member Data Documentation

◆ damage

int SethFollowerScript.damage

◆ distance

float SethFollowerScript.distance
private

◆ distanceBetween

float SethFollowerScript.distanceBetween

◆ player

GameObject SethFollowerScript.player

◆ playerHealth

PlayerHealth SethFollowerScript.playerHealth

◆ speed

float SethFollowerScript.speed

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