GameObject Transform problem

I changed some prefab’s script

from, var missle : GameObject;
to, var missle : Transform;

  1. But prefab’s Inspector’s type does not change to Transform type.

  2. and why SendMessage does not work with GameObject type?

BCE0019: ‘SendMessage’ is not a member of ‘System.Type’.

Let’s see more code.

You must save in order to have changes taken into account. And if you saved but it doesn’t work, it means you should have an error message that prevents Unity from making the change.

? Script ?