void GeneratePulseHalo(ref Bounds blockBounds, int noPulses, Transform parent = null) { for (int i = 0; i < noPulses; ++i) { BlockHalo halo = InstantiateBlockHalo(_haloPrefabs.HaloPulseFadePrefab, ref blockBounds, parent); halo.Play(_haloConfig.BlockHaloPulseDelaySeconds * i); } }
void GenerateFadeHalo(ref Bounds blockBounds, Transform parent = null) { BlockHalo halo = InstantiateBlockHalo(_haloPrefabs.HaloFadePrefab, ref blockBounds, parent); halo.Play(); }