Esempio n. 1
0
        void OnTriggerEnter(Collider col)
        {
            effectHolder.ActivateInstantEffects(col.gameObject);
            effectHolder.PassLongEffectsToTarget(col.gameObject);

            Explode();
        }
Esempio n. 2
0
        protected virtual void PickUp(GameObject target)
        {
            effectHolder.ActivateInstantEffects(target);
            effectHolder.PassLongEffectsToTarget(target);

            //TODO particles

            Destroy(gameObject);
            return;
        }