#if PRIME_TWEEN_INSTALLED using UnityEngine; namespace PrimeTweenDemo { public class HighlightableElement : MonoBehaviour { [SerializeField] public Transform highlightAnchor; public MeshRenderer[] models { get; private set; } void OnEnable() { models = GetComponentsInChildren(); foreach (var mr in models) { _ = mr.material; // copy shared material } } } } #endif