Rigidbody.Sleepfunction Sleep () : voidDescriptionForces 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(); using UnityEngine; import UnityEngine |
