示例#1
0
 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);
     }
 }
示例#2
0
        void GenerateFadeHalo(ref Bounds blockBounds, Transform parent = null)
        {
            BlockHalo halo = InstantiateBlockHalo(_haloPrefabs.HaloFadePrefab, ref blockBounds, parent);

            halo.Play();
        }