im using the arrayprefs script from http://www.unifycommunity.com/wiki/index.php?title=ArrayPrefs.
Im trying to save the positions of instantiated cubes. I add each cube to an array when instantiated and give the cube a unique name so i can save the Vector3 of each cube. Here is my script.
Im getting a NullReferenceException: Object reference not set to an instance of an object on the (PlayerPrefsX.SetVector3( curName, curName.transform.position);) line.The array is working and naming itself correctly but i keep getting that error. is my logic wrong? is there an easier way to do this?