示例#1
0
 private bool onOwnerPlayerDataReceived(PlayerStateServiceEvents.OtherPlayerDataReceived evt)
 {
     eventDispatcher.RemoveListener <PlayerStateServiceEvents.OtherPlayerDataReceived>(onOwnerPlayerDataReceived);
     Service.Get <ZoneTransitionService>().LoadIgloo(evt.Data.zoneId, Service.Get <Localizer>().Language, SceneStateData.SceneState.Play);
     return(false);
 }
 private bool onOtherPlayerDataReceived(PlayerStateServiceEvents.OtherPlayerDataReceived evt)
 {
     addOtherPlayerDetails(evt.Data);
     return(false);
 }