By looking at your script and if it's the exact same in Unity you have a problem with the variable Player (no type and wrong name in Update ()). And you need to pass a Transform and not a GameObject in tranform.LookAt ().

using UnityEngine;
using System.Collections;

public class CameraScript : MonoBehaviour {
    GameObject Player = GameObject.Find("PlayerCube");

    void Update () 
    {
        transform.LookAt (Player.tranform);
    }
}


I don't recommand making the camera a child of the cube as suggest @dnk-drone.vs.drones.

If you only want your camera to look at your object then the transform.LookAt () is what you need. If you want to move the camera with the object you need to write it in your script.

You can also use a public reference for your object and drag it by using the Unity inspector.

Also, you can watch in the Unity/Standard Assets, a CameraFollow script exist already.

How do I make my camera follow my cube?
I want to use Gentoo's packages on Fedora. Is this possible?

EDIT: I meant that I want to use Gentoo's portage tree.

UPDATE: How about Ubuntu's packages on Fedora? Or Fedora's on Gentoo? Or any other distribution's packages/package manager on another?
