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