Instantiate - what have I missed?

This script is attached to my Game Controler object. I have dragged the prefab onto the variable slot in the inspector but the prefab doesn’t appear in the Hierarchy view during run time.

I’m a bit stumped!

var alien01prefab : GameObject;

function start () {
   Instantiate(alien01prefab, Vector3(0, 2, 0), Quaternion.identity);

You need a capital ‘S’

function Start()

If nothing is happening, I always like to put a


in front of the code I am testing just to see if it even executes.


I’m so glad it was that simple to be honest!