最赞回答 / 树袋趴趴熊
解决了。unity5.x后 要写成GetComponent<Camera>().transform.LookAt(player.transform.position);
2015-10-09