Method FindNearest
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
FindNearest(Vector3, FarmState, float)
Finds the nearest CropContainerBehaviour in the given state within
maxDistance. Searches all containers in the active scene —
tilled farm plots, pots, planters, etc.
public static CropContainerBehaviour FindNearest(Vector3 from, FarmState state, float maxDistance = 10)