Serialize arrays from text file to inspector (Unity 5 with c#) -
i working on saving arrays have pulled long text file. used foreach loop arrays little lost on go here. can use [serializedfield] show coordinates x,y,z in inspector need figure out how save data loop. advice me in right direction awesome! thank ahead of time. here code: using unityengine; using system; using system.collections; using system.collections.generic; [serializable] public class multiarraylist : monobehaviour { public textasset datafile; private int i; //private float[,] coordinates; [serializefield] private float[] coordx; [serializefield] private float[] coordy; [serializefield] private float[] coordz; [serializefield] private float[] intensity; //private vector3 verts; // use initialization void start() { string[] datalines = datafile.text.split ('\n'); string[] linevalues; //print (datalines.length); i=0; //float[,] coordinates = new float[6853, 3]; float[] coordx = new float[6853]; float[] coordy = new float[6853]; f...