C# Class RayPathFinding

Inheritance: MonoBehaviour
Show file Open project: imann24/cs327-bestmobilegameever Class Usage Examples

Public Properties

Property Type Description
_debug bool
hasPath bool
points List

Public Methods

Method Description
GetPath ( Vector2 endPoint ) : void

Private Methods

Method Description
GetClosestCorner ( Vector2 playerPos, RaycastHit hit ) : Vector2
MakePath ( Vector2 endPoint ) : IEnumerator
WalkPath ( ) : IEnumerator

Method Details

GetPath() public method

public GetPath ( Vector2 endPoint ) : void
endPoint Vector2
return void

Property Details

_debug public property

public bool _debug
return bool

hasPath public property

public bool hasPath
return bool

points public property

public List points
return List