Use cached material instances

This commit is contained in:
Santiago Lo Coco 2024-11-04 23:55:17 +01:00
parent 64f57d675d
commit 045f30e4e5
2 changed files with 1122 additions and 15 deletions

File diff suppressed because it is too large Load Diff

View File

@ -74,9 +74,6 @@ public class ServicesListPopulator : MonoBehaviour
{
isVisible = !isVisible;
foreach (Renderer renderer in GetComponentsInChildren<Renderer>())
{
renderer.enabled = isVisible;
}
gameObject.SetActive(isVisible);
}
}