Unity C# store script in variable
<p>I can store a GameObject within a variable with something like:</p>

<pre><code>GameObject Target = SomeGameobject; 
</code></pre>

<p>How do i do that for a script?</p>

<pre><code>SomeVariableDefinition TargetStatus = Target.GetComponent&lt;Status&gt;();
</code></pre>

<p>What is the variable? Is there such a thing?</p>

<p>Thanks in advance, Sorry for the bad english.</p>