override public float Run() { if (hotspot == null) { return(0f); } DoChange(hotspot); if (affectChildren) { Hotspot[] hotspots = hotspot.GetComponentsInChildren <Hotspot>(); foreach (Hotspot _hotspot in hotspots) { if (_hotspot != hotspot) { DoChange(_hotspot); } } } return(0f); }