public void ResetData() { shapeData = shapeDataTemplate.CloneData(); boundsUp = shapeData.boundsUp; boundsDown = shapeData.boundsDown; boundsLeft = shapeData.boundsLeft; boundsRight = shapeData.boundsRight; rotBoundsRight = shapeData.rotBoundsRight; rotBoundsUp = shapeData.rotBoundsUp; rotAdjustVal = shapeData.rotAdjustVal; gameObject.GetComponent <ObjectMover>().UpdateMouseBounds(boundsDown, boundsUp, boundsLeft, boundsRight); }