How to respawn a destroyed chatbox window with a Vertical Layout Group component
Can anyone tell me how to either respawn the vertical chatbox window on the lefthand side of the attached screen capture or, alternatively, let me know how I might be able to get more than the number of chat boxes to appear on my screen during a TCP chat session? The code works just fine, but I am limited to the number of test lines shown on the screen capture, and that is a major problem. I did a
if (Input.GetKeyDown(KeyCode.Escape)) { Destroy(chatContainer); }
which works fine to empty all the Test lines on the lefthand side of the screen when I hit Escape. But I have been knocking my head against the wall trying to Instantiate a new set of boxes. Upon request I'd be happy to share the code, which I got from a great video on the Web.
Thanks in advance for help from someone who's "been there".
Your answer
Follow this Question
Related Questions
Switching from object to object with Raycast Problem 1 Answer
Buttons to make the ball move left and right 0 Answers
Can i click on UI Text like this? 0 Answers
Allow player to resize Panel UI,Resizable UI Panel 0 Answers
UI won't update during (stalling the rest of the method) an Elapsed timed event. 0 Answers