playMaker

Author Topic: Copy paste buffer [SOLVED]  (Read 1864 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Copy paste buffer [SOLVED]
« on: October 23, 2018, 08:53:11 AM »
Hello,

i'm working on a small application based on text.
i would like if there is any action already existing allowing to copy / paste a large text to unity ?

« Last Edit: October 24, 2018, 08:45:36 AM by blackant »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Copy paste buffer
« Reply #1 on: October 23, 2018, 09:57:18 AM »
hi.
I believe www object will do the trick :)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Copy paste buffer
« Reply #2 on: October 23, 2018, 10:00:31 AM »
i really don't see how it can do the trick from an url in my case
could you explain ?

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Copy paste buffer
« Reply #3 on: October 23, 2018, 10:04:26 AM »
maybe my tasks is not really clear...

let me explain a bit

i want the player to be able to write a text, as long as he need.

than when done, he clic on a button, and this text is copy pasted into another text and displayed

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Copy paste buffer
« Reply #4 on: October 23, 2018, 10:04:50 AM »
Hi.
Ah sorry misunderstood.

Maybe www post from the Ecosystem

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Copy paste buffer
« Reply #5 on: October 23, 2018, 10:09:32 AM »
hi.
A string can hold a lot so a string probably will do.

Quote
The theoretical limit may be 2,147,483,647, but the practical limit is nowhere near that. Since no single object in a .Net program may be over 2GB and the string type uses unicode (2 bytes for each character), the best you could do is 1,073,741,823, but you're not likely to ever be able to allocate that on a 32-bit machine.

The copy paste is that to go to the url?

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Copy paste buffer
« Reply #6 on: October 23, 2018, 11:14:21 AM »
i made a small video  to explain precisely my problem

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Copy paste buffer
« Reply #7 on: October 24, 2018, 08:39:47 AM »
i have fund a clue about my problem but this is the first time i really use input text so i'm a bit confused about this


blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Copy paste buffer
« Reply #8 on: October 24, 2018, 08:45:20 AM »
Well, i just fund a way to get it to work as i need finally, just by changing  the option Content Type > Line Type from Single Line to Multi Line