Hi,
In your post, Script2 is not a valid script. So I am not sure with what you are testing for real.
In all cases, you need to have Script2 flagged as serializable, not otherVs.
Also, built in arrays are not supported for reflection with "Set Property" and "Get Property", so you 'll need for this a dedicated custom action, let me know if you need a working sample or you are fine that option.
so I made a working test to make sure it's all fine:
using UnityEngine;
using System.Collections;
public class Script1 : MonoBehaviour {
public int MyInt;
public Script2 MyScript2 = new Script2 (); // fine
// This won't be accessible via Get Property Set Property. you'll need a dedicated Custom Action too access the content of MyScript2List;
//public Script2[] MyScript2List;
}
using System;
using UnityEngine;
[Serializable]
public class Script2
{
public int MyInt;
public Vector3 MyVector3;
}
Let me know fit that works better on your end.
Bye,
Jean