ExtendBehaviour.Deactivate C# (CSharp) Method

Deactivate() public method

public Deactivate ( ) : void
return void
    public void Deactivate()
    {
        if (!dextend)
            Destroy(gameObject);
        else
            comeBack = true;
    }