// Token: 0x06000216 RID: 534 RVA: 0x00013B64 File Offset: 0x00011D64 private ClipBoardHandler() { if (!ClipboardCHelper.IsSupport()) { LogUtil.Debug(new object[] { "ClipboardCHelper disabled. using direct GUIUtility.systemCopyBuffer" }); this.GetClipboard = (() => GUIUtility.systemCopyBuffer); this.SetClipboard = delegate(string text) { GUIUtility.systemCopyBuffer = text; }; return; } LogUtil.Debug(new object[] { "ClipboardCHelper enabled." }); this.GetClipboard = (() => ClipboardCHelper.clipBoard); this.SetClipboard = delegate(string text) { ClipboardCHelper.clipBoard = text; }; }
private ClipBoardHandler() { // unity 5- if (!ClipboardCHelper.IsSupport()) { LogUtil.Debug("ClipboardCHelper disabled. using direct GUIUtility.systemCopyBuffer"); GetClipboard = () => GUIUtility.systemCopyBuffer; SetClipboard = (text) => { GUIUtility.systemCopyBuffer = text; }; } else { LogUtil.Debug("ClipboardCHelper enabled."); GetClipboard = () => ClipboardCHelper.clipBoard; SetClipboard = (text) => { ClipboardCHelper.clipBoard = text; }; } }