private void DrawCopyPasteButtons() { Configuration config = NanoGauges.configuration; GaugeSet currentSet = GaugeSetPool.instance.GetGaugeSet(config.GetGaugeSetId()); GaugeSet clipboard = GaugeSetPool.instance.GetClipboard(); if (GUILayout.Button("Copy", STYLE_COPYPASTE_BUTTONS)) { clipboard.copyFrom(currentSet); gauges.ReflectGaugeSetChange(); clipboardNotEmpty = true; } if (GUILayout.Button("Paste", STYLE_COPYPASTE_BUTTONS) && clipboardNotEmpty) { currentSet.copyFrom(clipboard); gauges.ReflectGaugeSetChange(); } /*if (GUILayout.Button("Paste/Pos", STYLE_COPYPASTE_BUTTONS) && clipboardNotEmpty) * { * currentSet.copyArrangementFrom(clipboard); * gauges.ReflectGaugeSetChange(); * }*/ }