ParticleSystem
In Unity 5.5, the MainModule struct was introduced. It contains information like the startColor, startLifetime etc.
This is the replacement in Brick.cs:
void PuffSmoke() {
ParticleSystem.MainModule main = smokePuff.GetComponent<ParticleSystem>().main;
main.startColor = GetComponent<SpriteRenderer>().color;
}