title: I am getting the error code CS0411
body: <p>What does the following error message mean?</p>
  
  <blockquote>
    <p>Error CS0411<br>
    The type arguments for method
    'Component.GetComponent()' cannot be inferred from the usage. Try
    specifying the type arguments explicitly</p>
  </blockquote>
  
  <p>This is my code:</p>
  
  <pre class="lang-cs prettyprint-override"><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class Mover : MonoBehaviour
  {
      private Rigidbody rb;
      private float speed;
  
      void Start()
      {
          rb = GetComponent();
          rb.velocity = transform.forward * speed;
      }
  }
  </code></pre>