Ограничение единство 2d
myRigidbody.constraints = RigidbodyConstraints2D.FreezeAll;
Zarden
myRigidbody.constraints = RigidbodyConstraints2D.FreezeAll;