Answers for "unity editor button clip copy text"

C#
4

unity how to copy something to the clipboard

GUIUtility.systemCopyBuffer = "test";
Posted by: Guest on November-01-2020
2

unity copy to clipboard

using UnityEngine;

public static class ClipboardExtension
{
    /// <summary>
    /// Puts the string into the Clipboard.
    /// </summary>
    public static void CopyToClipboard(this string str)
    {
        GUIUtility.systemCopyBuffer = str;
    }
}
Posted by: Guest on October-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language