Ejemplo n.º 1
0
 public static Offset <PlayerRigidBodyState> CreatePlayerRigidBodyState(FlatBufferBuilder builder,
                                                                        Offset <RigidBodyState> stateOffset  = default(Offset <RigidBodyState>),
                                                                        Offset <ControllerState> inputOffset = default(Offset <ControllerState>))
 {
     builder.StartObject(2);
     PlayerRigidBodyState.AddInput(builder, inputOffset);
     PlayerRigidBodyState.AddState(builder, stateOffset);
     return(PlayerRigidBodyState.EndPlayerRigidBodyState(builder));
 }
Ejemplo n.º 2
0
 public static PlayerRigidBodyState GetRootAsPlayerRigidBodyState(ByteBuffer _bb, PlayerRigidBodyState obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }