NetworkProximityChecker OnSetLocalVisibility parameter name improved

This commit is contained in:
vis2k 2018-12-17 22:54:44 +01:00
parent 06634febf0
commit 28a2246b32

View File

@ -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;
}
}
}