Use cached material instances
This commit is contained in:
parent
64f57d675d
commit
045f30e4e5
File diff suppressed because it is too large
Load Diff
|
@ -74,9 +74,6 @@ public class ServicesListPopulator : MonoBehaviour
|
|||
{
|
||||
isVisible = !isVisible;
|
||||
|
||||
foreach (Renderer renderer in GetComponentsInChildren<Renderer>())
|
||||
{
|
||||
renderer.enabled = isVisible;
|
||||
}
|
||||
gameObject.SetActive(isVisible);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue