Example #1
0
        protected override void doDeserialize(Stream stream)
        {
            guiUpdateRate = stream.readFloat();
            stateUpdateRate = stream.readFloat();

            showGui = stream.readBool();
            updateGui = stream.readBool();
            updateWindows = stream.readBool();
            updateState = stream.readBool();
            control = stream.readBool();
        }
Example #2
0
        protected override void doDeserialize(Stream stream)
        {
            throttle = stream.readFloat();

            yaw = stream.readFloat();
            pitch = stream.readFloat();
            roll = stream.readFloat();

            dx = stream.readFloat();
            dy = stream.readFloat();
            dz = stream.readFloat();
        }
Example #3
0
        protected override void doDeserialize(Stream stream)
        {
            base.doDeserialize(stream);

            minValue = stream.readFloat();
            maxValue = stream.readFloat();
            value = stream.readFloat();
            isHorizontal = stream.readBool();

            thumbStyle = deserializeStyle(stream);
        }
Example #4
0
 protected override void doDeserialize(Stream stream)
 {
     a = stream.readFloat();
     r = stream.readFloat();
     g = stream.readFloat();
     b = stream.readFloat();
 }