public void Setup(NavVector newField) { field = newField; pathFinder = ScriptableObject.CreateInstance("VectorNavigation.VectorPathfinding") as VectorNavigation.VectorPathfinding; pathFinder.Setup(field, true); }
public void Setup(NavVector field, bool enable) { navField = field; active = enable; }