ReachNetwork

class in Eddie

Description

A set of polygon colliders that represents reach areas.

Constructors

ReachNetwork(Transform origin, Vector2[][] reachLevels)
Parameter Description
origin The main Transform of the network.
reachLevels The polygons that represents the reach levels.

Methods

Method Description
InReach Returns StepPoints that are in reach.
JumpType Returns the minimalist level index required to reach a target (returns -1 if not reachable).
ReachByType Returns reachable StepPoints colliders of a specific level.