コード例 #1
0
        public void FriendlyFire(MyFriendlyFireEnum type)
        {
            var msg = new MyEventFriendlyFire();

            msg.FriendlyFireType = type;

            Peers.SendToAll(ref msg, NetDeliveryMethod.ReliableOrdered, 0);
        }
コード例 #2
0
        public void FriendlyFire(MyFriendlyFireEnum type)
        {
            var msg = new MyEventFriendlyFire();
            msg.FriendlyFireType = type;

            Peers.SendToAll(ref msg, NetDeliveryMethod.ReliableOrdered, 0);
        }