Esempio n. 1
0
        public static void DumpList(DumpItem d, IList <Vector3> x)
        {
            int a_from, a_to;

            Array(d, x.Count, out a_from, out a_to);

            for (int i = a_from; i <= a_to; i++)
            {
                KV(d, String.Empty, x[i]).ArrayIndex = i;
            }

            d.RemoveExtraSubitems();
        }
Esempio n. 2
0
        public static void DumpList <T>(DumpItem d, IList <T> x) where T : IDumpable
        {
            int a_from, a_to;

            Array(d, x.Count, out a_from, out a_to, "Array of " + typeof(T).Name);

            for (int i = a_from; i <= a_to; i++)
            {
                KV(d, String.Empty, x[i]).ArrayIndex = i;
            }

            d.RemoveExtraSubitems();
        }