示例#1
0
        public override void Load(DocumentReader reader)
        {
            base.Load(reader);
            Name = reader.ReadString();
            int count = reader.ReadInt();

            for (int i = 0; i < count; i++)
            {
                Drawable item = reader.ReadPersistable <Drawable>();
                items.Add(item);
            }
        }