Method IsSimulator
IsSimulator()
Determine whether the app is running in the visionOS simulator. Treat the Editor targeting visionOS as running in simulator.
Declaration
public static bool IsSimulator()
Returns
| Type | Description |
|---|---|
| bool | true if the app is running in the visionOS Simulator. Otherwise, false. |