Class SeedsBehaviour
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
Marker component identifying an item as Seeds. Required by PlantingSkill to plant a crop in any CropContainerBehaviour.
Set FirstStagePrefab to the plant prefab (must have a CropBehaviour
with VisualStages — the first stage should be invisible to represent the seed in soil).
The container's Rows × Columns determines the grid shape (1×1 for pots, 1×9 for a single farm row, etc.). GridSpacing controls the per-species spread.
public class SeedsBehaviour : MonoBehaviour
- Inheritance
-
objectSeedsBehaviour
Fields
- CropType
Human-readable crop name used for display and FarmerAI logic. E.g. 'Wheat', 'Tomato', 'Potato'.
- GridSpacing
Per-species distance (metres) between plants in a grid. When 0, the container's ContainerGridSpacing is used.