CaveworldFlora.ClusterPlant_Gleamcap.Destroy C# (CSharp) Method

Destroy() public method

Destroy the plant and the associated glower if existing.
public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
return void
        public override void Destroy(DestroyMode mode = DestroyMode.Vanish)
        {
            if (this.sporeSpawner.DestroyedOrNull() == false)
            {
                this.sporeSpawner.Destroy();
            }
            base.Destroy(mode);
        }