Check out example codes for "how to add a gameobject". It will help you in understanding the concepts better.
Code Example 1
/// <summary>
/// Creates a new Gameobject called Name_1
/// </summary>
public void AddGameObject()
{
GameObject testObject = new GameObject("Name_1");
}
Learn ReactJs, React Native from akashmittal.com