// Use this for initialization void Start() { if (RobotConnector == null) { RobotConnector = gameObject.GetComponent <RobotConnectionComponent> (); } if (Configuration == null) { _customConfigurations = true; Configuration = gameObject.AddComponent <TELUBeeConfiguration> (); } else { _customConfigurations = false; } Init(); if (Debugger != null) { // Debugger.AddDebugElement(new DebugCameraSettings(Configuration)); } RobotConnector.AddDependencyNode(this); // GStreamerCore.Ref (); }
// Use this for initialization void Start() { Application.targetFrameRate = TargetFrameRate; if (OculusCamera == null) //Try to find OVRCameraRig component { OculusCamera = GameObject.FindObjectOfType <OVRCameraRig> (); } if (RobotConnector == null) { RobotConnector = gameObject.GetComponent <RobotConnectionComponent> (); } if (Configuration == null) { _customConfigurations = true; Configuration = gameObject.AddComponent <TELUBeeConfiguration> (); } else { _customConfigurations = false; } Init(); if (Debugger != null) { // Debugger.AddDebugElement(new DebugCameraSettings(Configuration)); } RobotConnector.AddDependencyNode(this); // GStreamerCore.Ref (); }
public DebugCameraSettings(TELUBeeConfiguration r) { Config = r; }
// Use this for initialization void Start() { Application.targetFrameRate = TargetFrameRate; if(OculusCamera==null) //Try to find OVRCameraRig component OculusCamera = GameObject.FindObjectOfType<OVRCameraRig> (); if (Configuration == null) Configuration = gameObject.AddComponent<TELUBeeConfiguration>(); if(TargetMaterial!=null) Init(); RobotConnector.AddDependencyNode (this); GStreamerCore.Ref (); }