예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="_tg"></param>
        public void LoadFromTGSerializedObject(TGSerializedObject _tg)
        {
            int itemCount = _tg.Properties.Count;

            for (int i = 0; i < itemCount; i++)
            {
                T value = _tg.GetITGSerializableObject <T>(Convert.ToString(i));
                Values.Add(value);
            }
        }