📓

EnemyNetworkEntity

public abstract class EnemyNetworkEntity : DirectionalNetworkEntity
//...

A base class used in the example to put relevant functions all enemies may use

Methods

public PlayerNetworkEntity GetClosestPlayerNetworkEntity()

Works out the closest PlayerNetworkEntity to this EnemyNetworkEntity. If none, will return null