protected override void OnActivate()
        {
            HitBoxActive = true;
            Alpha        = FullBright;
            Behavior.ResetSelf();

            BfgBulletFallout.ActivateInstance();
        }
Exemple #2
0
        // Call from BulletPoolList -> BfgBulletPrefab.InitFallout()
        public static void StaticInitFadeInfo(float delayTime, float fadeTime)
        {
            Instance = PoolManager.Instance.BulletPool.Get <BfgBulletFallout>();
            Instance.DeactivateSelf();

            Instance.DelayTime = delayTime;
            Instance.FadeTime  = fadeTime;
        }
 public void InitFallout() => BfgBulletFallout.StaticInitFadeInfo(FullBrightTime, FadeTime);