Class LiveStreamCaptureDeviceEditor
The default Inspector for Live
Inherited Members
Namespace: Unity.LiveCapture .Editor
Assembly: Unity.LiveCapture.Editor.dll
Syntax
[CustomEditor(typeof(LiveStreamCaptureDevice), true)]
public abstract class LiveStreamCaptureDeviceEditor : Editor
Methods
DrawDefaultLiveStreamInspector(Transform)
Makes a custom inspector GUI for Live
Declaration
protected void DrawDefaultLiveStreamInspector(Transform root = null)
Parameters
Type | Name | Description |
---|---|---|
Transform | root | The root transform of the live stream. |
GetRequiredComponents()
Override this method to specify required components that can't be inferred from the stream.
Declaration
protected virtual IEnumerable<Type> GetRequiredComponents()
Returns
Type | Description |
---|---|
IEnumerable<Type> | An enumeration of component types to be added at the root transform. |
Remarks
The components will be added at the root transform.
OnInspectorGUI()
Implement this function to make a custom inspector.
Declaration
public override void OnInspectorGUI()