コード例 #1
0
 private void send_to_all_players_in_list(AtomicData <List <Player> > players, Event3D ev)
 {
     players.Access((list) =>
     {
         foreach (var player in list)
         {
             player.stream_3d.Enqueue(ev);
         }
     });
 }
コード例 #2
0
 public ArenaBase()
 {
     left_players  = new AtomicData <List <Player> >(new List <Player>(2));
     right_players = new AtomicData <List <Player> >(new List <Player>(2));
 }