public override void Paint(GridLayout grid, GameObject brushTarget, Vector3Int position) { base.Paint(grid, brushTarget, position); TilesetOverlay overlay = brushTarget.GetComponentInParent <TilesetOverlay>(); overlay.CheckForChanges(); }
public override void BoxFill(GridLayout gridLayout, GameObject brushTarget, BoundsInt position) { base.BoxFill(gridLayout, brushTarget, position); TilesetOverlay overlay = brushTarget.GetComponentInParent <TilesetOverlay>(); overlay.CheckForChanges(); }