You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			393 B
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			18 lines
		
	
	
		
			393 B
		
	
	
	
		
			C#
		
	
using UnityEngine;
 | 
						|
using System.Collections;
 | 
						|
 | 
						|
namespace Valve.VR
 | 
						|
{
 | 
						|
	public class SteamVR_CameraHelper : MonoBehaviour
 | 
						|
	{
 | 
						|
		void Start()
 | 
						|
		{
 | 
						|
#if OPENVR_XR_API && UNITY_LEGACY_INPUT_HELPERS
 | 
						|
			if (this.gameObject.GetComponent<UnityEngine.SpatialTracking.TrackedPoseDriver>() == null)
 | 
						|
			{
 | 
						|
				this.gameObject.AddComponent<UnityEngine.SpatialTracking.TrackedPoseDriver>();
 | 
						|
			}
 | 
						|
#endif
 | 
						|
		}
 | 
						|
	}
 | 
						|
} |