Can we print to the console a list of all GameObject in the scene?

Can we print to the console a list of all GameObject in the scene?

Try this:

var objects : Objects[] = FindObjectsOfType(GameObject);

for (var obj : GameObject in objects) {
    Debug.Log(obj.name);
}

you mean function Update () { var objects : GameObject[] = FindObjectsOfType(GameObject);

for (var obj : GameObject in objects) { Debug.Log(obj.name); }

}

And link the script to a game object and press play.