What variable type is this?

I’m testing out android dev and all, and i have to declare all the variables, but not sure what i would declare “var clone” as.

var projectile : Rigidbody; var speed
= 20; var clone; function Update () {

if ( Input.GetButton (“Fire1”)) { clone = Instantiate(projectile, transform.position, transform.rotation); clone.velocity = transform.TransformDirection( Vector3 (0, 1, speed));

Destroy (clone.gameObject, 3);

}

}

Thanks in advance for any help!

Make it be the same type as whatever it’s instantiating. (So, Rigidbody in this case.)