Пример #1
0
        public override void Read(AssetReader reader)
        {
            base.Read(reader);

            CollisionShape0.Read(reader);
            CollisionShape1.Read(reader);
            CollisionShape2.Read(reader);
            CollisionShape3.Read(reader);
            CollisionShape4.Read(reader);
            CollisionShape5.Read(reader);
            Inside      = (TriggerAction)reader.ReadInt32();
            Outside     = (TriggerAction)reader.ReadInt32();
            Enter       = (TriggerAction)reader.ReadInt32();
            Exit        = (TriggerAction)reader.ReadInt32();
            RadiusScale = reader.ReadSingle();
        }
Пример #2
0
        public override void Read(AssetStream stream)
        {
            base.Read(stream);

            CollisionShape0.Read(stream);
            CollisionShape1.Read(stream);
            CollisionShape2.Read(stream);
            CollisionShape3.Read(stream);
            CollisionShape4.Read(stream);
            CollisionShape5.Read(stream);
            Inside      = stream.ReadInt32();
            Outside     = stream.ReadInt32();
            Enter       = stream.ReadInt32();
            Exit        = stream.ReadInt32();
            RadiusScale = stream.ReadSingle();
        }