private void UpdateTileColor(object source, TileData.ColorChangeEventArgs changeData) { GetComponent <Renderer>().material = MaterialCache.getTileMaterial(changeData.NewColor); }