public static Offset <DesiredBallState> CreateDesiredBallState(FlatBufferBuilder builder, Offset <DesiredPhysics> physicsOffset = default(Offset <DesiredPhysics>)) { builder.StartObject(1); DesiredBallState.AddPhysics(builder, physicsOffset); return(DesiredBallState.EndDesiredBallState(builder)); }
public static DesiredBallState GetRootAsDesiredBallState(ByteBuffer _bb, DesiredBallState obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }