Check out example codes for "prefab gets character transform". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com