Rigidbody.Sleep

function Sleep () : void

Description

Forces a rigidbody to sleep at least one frame.

A common use is to call this from Awake in order to make a rigidbody sleep at startup. See Rigidbody Sleeping for more information.

JavaScript
rigidbody.Sleep();