private void CheckSelected() { if (Selected) { TerrainMaterial.SetShaderParam("borderwidth0_1", .56f); } else { TerrainMaterial.SetShaderParam("borderwidth0_1", 0); } }