Class DefaultFaceMapperEditor
The inspector used by DefaultFaceMapper assets.
Inherited Members
Namespace: Unity.LiveCapture.ARKitFaceCapture.DefaultMapper.Editor
Syntax
[CustomEditor(typeof(DefaultFaceMapper), true)]
public class DefaultFaceMapperEditor : Editor, IPreviewable, IToolModeOwner
Methods
DoExtrasGUI(FaceActor)
Override this to add custom GUI to the mapper.
Declaration
protected virtual void DoExtrasGUI(FaceActor actor)
Parameters
Type | Name | Description |
---|---|---|
FaceActor | actor | The face rig prefab. |
OnDisable()
This function is called when the scriptable object goes out of scope.
Declaration
protected virtual void OnDisable()
OnEnable()
This function is called when the object is loaded.
Declaration
protected virtual void OnEnable()
OnInspectorGUI()
Implement this function to make a custom inspector.
Declaration
public override void OnInspectorGUI()