PhysicsEnvironments.IsInSimulation() shared Check if in simulation. Returns boolean Whether in simulation or not. Examples PhysicsEnvironments.IsInSimulation – Check if in simulation.