addWaypoint() public method

public addWaypoint ( Vector3 waypoint ) : void
waypoint Vector3
return void
Beispiel #1
0
	public void addWaypoint(MoveObject moveObject) {
		moveObject.addWaypoint(transform.position);
	}
Beispiel #2
0
	public void addWaypointsToObjet(MoveObject moveObject) {
		foreach(Transform t in m_Waypoints) {
			moveObject.addWaypoint(t.position);
		}
	}