protected void OnEnable() { dendrite = GameObject.FindObjectOfType <DendriteBase>(); renderings = Resources.FindObjectsOfTypeAll <DendriteRenderingBase>().ToList(); renderings.ForEach(r => r.Dendrite = dendrite); }