mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax: avoid hiding property
This commit is contained in:
parent
8bcc8d29ef
commit
fc6ada4ab9
@ -108,12 +108,12 @@ protected static bool ValidatePacketSize(ArraySegment<byte> segment, int channel
|
||||
|
||||
public override string ToString() => $"connection({connectionId})";
|
||||
|
||||
internal void AddToObserving(NetworkIdentity identity)
|
||||
internal void AddToObserving(NetworkIdentity netIdentity)
|
||||
{
|
||||
observing.Add(identity);
|
||||
observing.Add(netIdentity);
|
||||
|
||||
// spawn identity for this conn
|
||||
NetworkServer.ShowForConnection(identity, this);
|
||||
NetworkServer.ShowForConnection(netIdentity, this);
|
||||
}
|
||||
|
||||
internal void RemoveFromObserving(NetworkIdentity identity, bool isDestroyed)
|
||||
|
Loading…
Reference in New Issue
Block a user