JS to C# List type problem

Hello every body, I got a little problem:

How I can convert an object list javascript to c # without changing the object type, something like this:

// JavaScript Data
var holder : _Holder // "type object" - the inspector will show the variables of the script (_Holder).
//
// JavaScript _Holder
var numbers : int;
var groups : boolean[];
----
----
// C# Data
public _Holder holder; // "type _Holder" - this shows a picker of objects instead of shows the variables of the script(_Holder).
//
// C# _Holder
public int numbers;
public bool[] groups;

my question is, how I can preserve the value “object” in c #?.

hopes any one can help me, thanks in advance.

Don’t make the cs _Holder derive from monoBehaviour. Where it says

public class _Holder : MonoBehaviour {
    // whatever you have in it
}

just have

[System.Serializable]
public class _Holder {
    some stuff
}

As long as you never have to use _Holder as a component, this is the best way to do it.