Cara Melarang Rotasi dalam Collider Unity 2D

public Rigidbody2D rb;

void Start()
{
	rb.constraints = RigidbodyConstraints2D.None;
}
Dull Dingo