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