private void OnValidate() { if (!tileIds) { tileIds = FindObjectOfType <TileIds>(); } if (!patternIds) { patternIds = FindObjectOfType <PatternIds>(); } if (!gatherRules) { gatherRules = FindObjectOfType <GatherRules>(); } if (!outputGridPossibilities) { outputGridPossibilities = FindObjectOfType <OutputGridPossibilities>(); } if (!repeatCollapse) { repeatCollapse = FindObjectOfType <RepeatCollapse>(); } if (!changeOutputGrid) { changeOutputGrid = FindObjectOfType <ChangeOutputGrid>(); } if (!changePatternToTileIds) { changePatternToTileIds = FindObjectOfType <ChangePatternToTileIds>(); } }
private void OnValidate() { if (!patternIds) { patternIds = FindObjectOfType <PatternIds>(); } }
private void OnValidate() { if (!outputTilemap) { outputTilemap = FindObjectOfType <Tilemap>(); } if (!patternIds) { patternIds = FindObjectOfType <PatternIds>(); } }