title: How variables are accessed in C#/Unity?
body: <p>I am just starting to learn Unity/C#.</p>
  <p>One thing I am confused about in the C# scripts is that variables from classes are used, but the classes arn't directly accessed?</p>
  <p>For example:</p>
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  public class Test : MonoBehaviour {
  
      void Start(){
          Destroy(gameObject);;
      }
  }
  </code></pre>
  <p>How is <code>gameObject</code> accessed if the class isn't accessed? For example, how is it not:</p>
  <p><code>Destroy(UnityEngine.gameObject)</code> (or something similar)?</p>
  <p>I also cannot see the lowercase <code>gameObject</code> on the <a href="https://docs.unity3d.com/ScriptReference/GameObject.html" rel="nofollow noreferrer">documentation page</a>.</p>