private void RecordColorChange(Color color) { this.currentColor = color; commandList.Add(CanvasRecorderCommand.SetColor); commandList.Add(color.A); commandList.Add(color.R); commandList.Add(color.G); commandList.Add(color.B); }