• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by zKici · May 18, 2017 at 02:59 PM · unity 5inputmultiplecopypaste

How to copy multiple input boxes and paste

Hello,

How can we select multiple input boxes at once, so that they can be copied over to another place ex: Notepad.

Thank you,

Another very important question that is still unanswered: http://answers.unity3d.com/questions/1354668/copy-paste-row-column-from-excel-into-unity-input.html

KZ

Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image toddisarockstar · May 19, 2017 at 11:33 PM 0
Share

I dont understand the question. are you asking about GUI display text input boxes in unity? any inputs in unity would only be held in code and are not saved externally. and all unitys inputs are all stored in your code for access at anytime.

avatar image zKici toddisarockstar · May 20, 2017 at 01:47 AM 0
Share

Okay,

So I know there's a code to put information into the clipboard,

I suppose then the question would be how to Copy EX: 10 GUI Display input text boxes at once, so that I can put that into a clipboard and then carry on to a different program...

avatar image toddisarockstar zKici · May 20, 2017 at 02:17 AM 0
Share

its called systemCopyBuffer.

https://docs.unity3d.com/ScriptReference/EditorGUIUtility-systemCopyBuffer.html

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by toddisarockstar · May 20, 2017 at 02:36 AM

 // need this at top of script
 using UnityEditor;
 string clipboard;
 void Update () {
         //paste like this
     if (Input.GetKeyDown ("p")) {
                     EditorGUIUtility.systemCopyBuffer = "blah blah string";
             }
 //press the c key to get clipboard copy
     if(Input.GetKeyDown("c")){  
             clipboard=EditorGUIUtility.systemCopyBuffer;
             print("system clipboard is:"+clipboard);
 }}


Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

128 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Problem getting "good-feeling" aiming with joysticks for a top-down shooter 0 Answers

Keyboard + Joystick input rewired? 0 Answers

Holotoolkit on screen keyboard won't open,Hololens on-screen keyboard won't open 1 Answer

Arduino Input to Unity 0 Answers

How do I switch between multiple gameobjects during run time. 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges