This method is supposed to be called for each change in the inspector. When the script is changed and thus reloaded, the method works perfectly: The position gets snapped and the console reacts. However, the method ignores any further changes in the inspector, for example dragging the game object having the script or changing values manually. What could be missing to make it react to changes?
public void OnValidate()
{
UpdateCellPosition();
Debug.Log("works");
}