Check out example codes for "how to set a transform equal to something unity". It will help you in understanding the concepts better.
Code Example 1
using UnityEngine;public class Example : MonoBehaviour
{
// Moves all transform children 10 units upwards!
void Start()
{
foreach (Transform child in transform)
{
child.position += Vector3.up * 10.0f;
}
}
}
Code Example 2
public Transform tr; //make ref. in inspector window
tr.position = new Vector2(x, y);
Learn ReactJs, React Native from akashmittal.com