I usually code in Javascript. So having a bit of trouble whit this. Hope someone can help me whit it This code. javascript Code (csharp): var info : SaveInfo[]; class SaveInfo { var Name : String; var Age : int; } When putting onto a object it show in the inspector whit a variable and you can add more to the info. Now i convert it to C# like this. Code (csharp): using UnityEngine; using System.Collections; public class testc : MonoBehaviour { public SaveInfo info; class SaveInfo { string Name; int Age; } } But that dont even show up in the inspector for me or can i add the []. So have to do it?
Solution found http://forum.unity3d.com/threads/83480-C-Class Had to add public infront of the save info class