public override void Read(AssetStream stream) { base.Read(stream); LocalRotation.Read(stream); LocalPosition.Read(stream); LocalScale.Read(stream); m_children = stream.ReadArray <PPtr <Transform> >(); Father.Read(stream); }
public override void Read(AssetReader reader) { base.Read(reader); LocalRotation.Read(reader); LocalPosition.Read(reader); LocalScale.Read(reader); m_children = reader.ReadArray <PPtr <Transform> >(); Father.Read(reader); }
public override void Read(EndianStream stream) { base.Read(stream); LocalRotation.Read(stream); LocalPosition.Read(stream); LocalScale.Read(stream); m_children = stream.ReadArray(() => new PPtr <Transform>(AssetsFile)); Father.Read(stream); }
public override void Read(AssetReader reader) { base.Read(reader); LocalRotation.Read(reader); LocalPosition.Read(reader); LocalScale.Read(reader); Children = reader.ReadAssetArray <PPtr <Transform> >(); Father.Read(reader); #if UNIVERSAL if (HasRootOrder(reader.Version, reader.Flags)) { RootOrder = reader.ReadInt32(); } if (HasLocalEulerAnglesHint(reader.Version, reader.Flags)) { LocalEulerAnglesHint.Read(reader); } #endif }
public override void Read(AssetReader reader) { base.Read(reader); LocalRotation.Read(reader); LocalPosition.Read(reader); LocalScale.Read(reader); Children = reader.ReadAssetArray <PPtr <Transform> >(); Father.Read(reader); #if UNIVERSAL TransformLayout layout = reader.Layout.Transform; if (layout.HasRootOrder) { RootOrder = reader.ReadInt32(); } if (layout.HasLocalEulerAnglesHint) { LocalEulerAnglesHint.Read(reader); } #endif }