hi,
how can i instantiate a prefab like
Instatiate(m_board)
and then make this instantiated GameObject the child of the current GameObject?
thx
// Instantiate prefab
var obj = Instantiate(m_board);
// Set the instance's parent to this transform
obj.transform.parent = transform;
// (optional) Move it to this root
obj.transform.localPosition = Vector3.zero;