Network.RemoveRPCsstatic function RemoveRPCs (playerID : NetworkPlayer) : voidDescriptionRemove all RPC functions which belong to this player ID.
JavaScript
function OnPlayerDisconnected(player: NetworkPlayer) { using UnityEngine; import UnityEngine static function RemoveRPCs (playerID : NetworkPlayer, group : int) : voidDescriptionRemove all RPC functions which belong to this player ID and were sent based on the given group. static function RemoveRPCs (viewID : NetworkViewID) : voidDescriptionRemove the RPC function calls accociated with this view ID number. |
