public void setFromLaneUpdate(float hp, int targetID, Vector3 position, Quaternion rotation) { myFlow.setHP(hp); setTargetFromId(targetID); transform.position = position; transform.rotation = rotation; checkInitWaypoints(); }