Ejemplo n.º 1
0
        protected override void OnActivate()
        {
            HitBoxActive = true;
            Alpha        = FullBright;
            Behavior.ResetSelf();

            BfgBulletFallout.ActivateInstance();
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 public void InitFallout() => BfgBulletFallout.StaticInitFadeInfo(FullBrightTime, FadeTime);