use ‘code’ tags (with square brackets) to format the code properly
try adding your camera to belong to sphere’s transform (like you do in the hierarchy panel)
camera.transform.SetParent(sphere.transform);
use ‘code’ tags (with square brackets) to format the code properly
try adding your camera to belong to sphere’s transform (like you do in the hierarchy panel)
camera.transform.SetParent(sphere.transform);