Class FrameLimit
A MonoBehaviour component that quits the simulation after a specified number of frames.
Inherited Members
Object.GetEntityId()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.SimulationPro
Assembly: Unity.SimulationPro.Capture.dll
Syntax
public class FrameLimit : MonoBehaviour
Remarks
In the Editor, sets EditorApplication.isPlaying = false.
In standalone builds, calls Application.Quit().
Fields
FrameLimitCount
Gets or sets the frame count at which the simulation is stopped.
Declaration
public int FrameLimitCount
Field Value
| Type | Description |
|---|---|
| int |