901 B
901 B
Mock And Testing
The public DLL-only package includes runtime mock support inside Aisu.SIM1.Face.Runtime.dll, but it does not include EditMode test source files.
Editor Mock
For Editor integration without real hardware, enable mock mode in FaceSdkSettings:
Use Mock In Editor = true
When this option is enabled, the SDK uses the built-in mock transport in the Unity Editor instead of opening a real serial port.
Hardware Validation
For real SI-M1 hardware validation:
- Set
Use Mock In Editor = false. - Configure
Editor Port Name,Editor Baud Rate, andEditor Read Buffer Size. - Create a
FaceModuleManagerin the scene. - Call
Open(), then wait forWaitReadyAsync()or handleOnReady.
Automated Tests
Internal EditMode tests are maintained in the private development SDK repository and are not distributed in this DLL-only public package.