C# Class RayPathFinding

Inheritance: MonoBehaviour
Afficher le fichier Open project: imann24/cs327-bestmobilegameever Class Usage Examples

Méthodes publiques

Свойство Type Description
_debug bool
hasPath bool
points List

Méthodes publiques

Méthode Description
GetPath ( Vector2 endPoint ) : void

Private Methods

Méthode Description
GetClosestCorner ( Vector2 playerPos, RaycastHit hit ) : Vector2
MakePath ( Vector2 endPoint ) : IEnumerator
WalkPath ( ) : IEnumerator

Method Details

GetPath() public méthode

public GetPath ( Vector2 endPoint ) : void
endPoint Vector2
Résultat void

Property Details

_debug public_oe property

public bool _debug
Résultat bool

hasPath public_oe property

public bool hasPath
Résultat bool

points public_oe property

public List points
Résultat List