Пример #1
0
        protected override void OnActivate()
        {
            HitBoxActive = true;
            Alpha        = FullBright;
            Behavior.ResetSelf();

            BfgBulletFallout.ActivateInstance();
        }
Пример #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;
        }
Пример #3
0
 public void InitFallout() => BfgBulletFallout.StaticInitFadeInfo(FullBrightTime, FadeTime);