Instantiates a scene object or prefab. Can optionally set a parent object and local position and rotation.