This question was
closed Mar 26, 2020 at 09:48 PM by
nextus-.
Trying to make a list that stores multiple types of data
I am trying to make a list that will copy variables from another script and place the copy into another scripts list. At first, I tried to put the class into the list but that just referenced it, I tried using 'new' but that just gave me an error. I can't figure out any way to do this!
Comment
Answer by TCMOREIRA · Mar 26, 2020 at 03:33 AM
Please provide your code so we can better understand what you're doing.
Follow this Question
Related Questions
List is not refreshing after LoadingScene 1 Answer
Is it better to store index list or object itself ? 0 Answers
Use enum hidden value as something other than int? (C#) 2 Answers
Why does Unity Editor not reset playerpref values between tests? 2 Answers
Most efficient way to store information in an inspector dropdown menu? 0 Answers