# Mock And Testing 中文说明见 [SDK_Mock_And_Testing.zh-CN.md](SDK_Mock_And_Testing.zh-CN.md). ## Editor Mock For Editor integration without real hardware, enable mock mode in `FaceSdkSettings`: ```text Use Mock In Editor = true ``` When this option is enabled, the SDK uses `MockFaceModuleTransport` in the Unity Editor instead of opening a real serial port. Mock mode is useful for: - UI flow testing - Command callback testing - User-list display testing - Basic enrollment and verification workflow testing ## Hardware Validation For real SI-M1 hardware validation: 1. Set `Use Mock In Editor = false`. 2. Configure `Editor Port Name`, `Editor Baud Rate`, and `Editor Read Buffer Size`. 3. Open the scene that contains one `FaceModuleManager`. 4. Call `Open()`. 5. Wait for `WaitReadyAsync()` or handle `OnReady`. ## Logs Enable `RawLogEnabled` to receive raw TX/RX logs through `OnRawLog`. Enable `DebugLogEnabled` to print SDK-level debug logs.