Attach To Camera help
Hey Guys,
Since the forum doesn't allow me to search for the string AttachGameObjectToCamera (I guess it's too long?), I suspect this may have been answered elsewhere, but other queries lead to nothing, so here goes.
When I try to attach something to the OVR camera with the provided function, Unity complains that I can't pass a GameObject as a ref parameter. I'm not sure why the OVR functions all mainly use ref – I'm no hard-core programmer at all, so I may be missing something obvious - but it seems that in this case we'd need a simple 'normal' parameter?
Any help greatly appreciated!
Naam
Since the forum doesn't allow me to search for the string AttachGameObjectToCamera (I guess it's too long?), I suspect this may have been answered elsewhere, but other queries lead to nothing, so here goes.
When I try to attach something to the OVR camera with the provided function, Unity complains that I can't pass a GameObject as a ref parameter. I'm not sure why the OVR functions all mainly use ref – I'm no hard-core programmer at all, so I may be missing something obvious - but it seems that in this case we'd need a simple 'normal' parameter?
Any help greatly appreciated!
Naam
