C# Class RayPathFinding

Inheritance: MonoBehaviour
ファイルを表示 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_oe property

public bool _debug
return bool

hasPath public_oe property

public bool hasPath
return bool

points public_oe property

public List points
return List