public override void SendData(int connectionId, TransportEvent.Type type, byte[] data) { RaiseEventOptions options = new RaiseEventOptions() { TargetActors = new int[] { connectionId } }; PhotonNetwork.RaiseEvent((byte)type, data, options, SendOptions.SendUnreliable); }
public override void SendData(int connectionId, TransportEvent.Type type, byte[] data) { RaiseEventOptions options = new RaiseEventOptions() { Receivers = ReceiverGroup.MasterClient }; PhotonNetwork.RaiseEvent((byte)type, data, options, SendOptions.SendUnreliable); }
public abstract void SendData(int connectionId, TransportEvent.Type type, byte[] data);