This class is added to every placed object by default. It holds important information about its position, rotation, grid and many other things. These are all available to get and set via getting
GridObject.Data objData = obj.GetComponent<GridObject>().data;
public void ReapplyOriginalMaterials()
This function can be called on the base GridObject class.
GridObject gets and holds its own materials on component start for reapplication later. This method can then be called to reapply these materials to the obj and children.