示例#1
0
        public override void Read(EndianStream stream)
        {
            base.Read(stream);

            if (IsReadPrefab)
            {
                PrefabParentObject.Read(stream);
                PrefabInternal.Read(stream);
            }
        }
        public override void Read(AssetStream stream)
        {
            base.Read(stream);

            if (IsReadPrefab(stream.Flags))
            {
                PrefabParentObject.Read(stream);
                PrefabInternal.Read(stream);
            }
        }
示例#3
0
        public override void Read(AssetReader reader)
        {
            base.Read(reader);

            if (IsReadPrefabParentObject(reader.Flags))
            {
                PrefabParentObject.Read(reader);
                PrefabInternal.Read(reader);
            }
        }
示例#4
0
        public override void Read(AssetReader reader)
        {
            base.Read(reader);

#if UNIVERSAL
            if (IsReadPrefabParentObject(reader.Flags))
            {
                PrefabParentObject.Read(reader);
                PrefabInternal.Read(reader);
            }
            if (IsReadPrefabAsset(reader.Version, reader.Flags))
            {
                PrefabAsset.Read(reader);
            }
#endif
        }