title: Method in Script is never called
body: <p>I have a Projectile Script attached to a GameObject. Now i want to access the LinearProjectile() method in Projectile Script from Script A attached to GameObject A. Here i made a public field of type Projectile in Script A and passed in one GameObject where Projectile Script is attached. </p>
  
  <p>To access LinearProjectile() method i just did. </p>
  
  <pre><code>projectile.LinearProjectile(transform.position, transform.rotation, this.direction, this.shotPower);
  //Here is my method defination..
  
  public void LinearProjectile(Vector3 position, Quaternion rotation, Vector2 direction, float force)
  {
      Debug.Log("called");
      this.direction = direction;
      this.force = force;
      this.projectileType = ProjectileType.Linear;
  }
  </code></pre>
  
  <p>All the field value  assigned in this method are in default state since this method is never called. How can I access this method from other GameObject Script.
  I tried GetComponent().method() but even though i can't acess what is the error here? i spent alot of time to find out but no success.. Help me out</p>