示例#1
0
    public void AddPowerUpEffect(GameObject parent, AnimationType type, BubbleDeathType deathType)
    {
        if (!(DeathSequence is PowerUpBubbleDeathSequence))
        {
            DeathSequence = new PowerUpBubbleDeathSequence(gameObject, DeathSequence.EffectDictionary);
        }

        AddBlockingEffect(parent, type, deathType);
    }
示例#2
0
 protected void Awake()
 {
     DeathSequence = new BubbleDeathSequence(gameObject);
 }