using Unity.Collections; namespace DanieleMarotta.RiversongCodeShowcase { public struct CropsGrassTileMask : IGrassTileMask { public NativeArray Fertility; public bool CanGenerateAtTile(int tileIndex) { return Fertility[tileIndex].MaxFertility > 0; } } }