UnityEngine.Network.Internal_SetSendingSpecific C# (CSharp) Method

Internal_SetSendingSpecific() private static method

private static Internal_SetSendingSpecific ( NetworkPlayer player, int group, bool enabled ) : void
player NetworkPlayer
group int
enabled bool
return void
        private static void Internal_SetSendingSpecific(NetworkPlayer player, int group, bool enabled)
        {
            INTERNAL_CALL_Internal_SetSendingSpecific(ref player, group, enabled);
        }

Usage Example

コード例 #1
0
 /// <summary>
 ///   <para>Enable or disable transmission of messages and RPC calls based on target network player as well as the network group.</para>
 /// </summary>
 /// <param name="player"></param>
 /// <param name="group"></param>
 /// <param name="enabled"></param>
 public static void SetSendingEnabled(NetworkPlayer player, int group, bool enabled)
 {
     Network.Internal_SetSendingSpecific(player, group, enabled);
 }