title: Error calling method from one script to another in Unity
body: <p>1st script: </p>
  
  <pre><code>public class VRTK_VRInputModule : PointerInputModule
  </code></pre>
  
  <p>Method in in: </p>
  
  <pre><code>public virtual void Click(VRTK_UIPointer pointer, List&lt;RaycastResult&gt; results)
  </code></pre>
  
  <p>2nd script: </p>
  
  <pre><code>public class ARHeadWebCamTextureExample : MonoBehaviour
  </code></pre>
  
  <p>Im trying to call Click from the 1st script by using:</p>
  
  <pre><code>public VRTK_VRInputModule vrtk;
  
  vrtk = new VRTK_VRInputModule();
              vrtk.Click();
  </code></pre>
  
  <p>Im getting an error: The type or namespace name `VRTK_VRInputModule' could not be found. Are you missing an assembly reference?</p>
  
  <p>What am I doing wrong??</p>
  
  <p>EDIT:</p>
  
  <p>I created a "using VRTK" but got another error: </p>
  
  <pre><code>using OpenCVForUnity;
  using DlibFaceLandmarkDetector;
  using VRTK;
  namespace DlibFaceLandmarkDetectorExample {
  
  public class ARHeadWebCamTextureExample : MonoBehaviour
      {
          public VRTK_VRInputModule vrtk;
  
          public void NeededFunction()
          {            
            vrtk = new VRTK_VRInputModule();
            vrtk.Click();
          }
      } 
  }
  </code></pre>
  
  <p>When hoovering over Click I get the following error:
  <a href="https://i.stack.imgur.com/33DI7.png" rel="nofollow noreferrer">Error</a></p>
  
  <p>Thank you for your help! </p>