- Home /
 
               Question by 
               fred_gds · Mar 27, 2016 at 05:34 PM · 
                editorarrayunityeditorserializemultidimensional array  
              
 
              Serialize [,]
Hello,
Is it not possible to serialize a 2-Dimensional array? I have tagged the class of the object with [System.Serializable] and to make sure also tagged the variable with [SerializeField] but I always use my data when hitting play.
Does anyone know a solution or workaround for this? As I do some heavy calculation in the editor to obtain that array so I would really like to keep those results.
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How do I assign 3 variables to every GameObject in the array "enemy"? 2 Answers
Insert new custom class element with _default_ values to a SerializedProperty array? 1 Answer
Serialize an array of custom objects 3 Answers
Show Array Default Value in the Editor 1 Answer
Count every row and column of multidemensional array (c# unity) 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                 A workaround is to use 1d array.
 A workaround is to use 1d array.