mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkProximityChecker OnSetLocalVisibility parameter name improved
This commit is contained in:
parent
06634febf0
commit
28a2246b32
@ -117,11 +117,11 @@ public override bool OnRebuildObservers(HashSet<NetworkConnection> observers, bo
|
||||
}
|
||||
|
||||
// called hiding and showing objects on the host
|
||||
public override void OnSetLocalVisibility(bool vis)
|
||||
public override void OnSetLocalVisibility(bool visible)
|
||||
{
|
||||
foreach (Renderer rend in GetComponentsInChildren<Renderer>())
|
||||
{
|
||||
rend.enabled = vis;
|
||||
rend.enabled = visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user