コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
ファイル: Transform.cs プロジェクト: bmjoy/UnityRipper
        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);
        }
コード例 #4
0
        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
        }
コード例 #5
0
        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
        }