prefab gets character transform

C#
var playerTranform = GameObject.Find("Player").transform;  
Source

Also in C#: