get self component in unity

Code Example - get self component in unity

                
                        MonoBehaviour thisComponent = this;