Esempio n. 1
0
    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);
    }
Esempio n. 2
0
    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);
    }
Esempio n. 3
0
 public abstract void SendData(int connectionId, TransportEvent.Type type, byte[] data);