Update TileMain.cs

added bool to be able select the option to add rigidbody (bellow addcollider)