Check out example codes for "how i can get a gameobject from a transform". It will help you in understanding the concepts better.

Code Example 1

transform.gameObject

Learn ReactJs, React Native from akashmittal.com