Ejemplo n.º 1
0
    /// <summary>
    /// Destroys this buff.
    /// </summary>
    public void Destroy()
    {
        //OnDestroy(); apparently we don't need to call OnDestroy() here because it gets called automatically.

        buffManager.DeregisterBuff(this);
        Destroy(this);
    }