Nez.Collider.setShouldColliderScaleAndRotateWithTransform C# (CSharp) Method

setShouldColliderScaleAndRotateWithTransform() public method

if set to true, the Collider will scale and rotate following the Transform it is attached to
public setShouldColliderScaleAndRotateWithTransform ( bool shouldColliderScaleAndRotateWithTransform ) : Collider
shouldColliderScaleAndRotateWithTransform bool If set to true should collider scale and rotate with transform.
return Collider
		public Collider setShouldColliderScaleAndRotateWithTransform( bool shouldColliderScaleAndRotateWithTransform )
		{
			this.shouldColliderScaleAndRotateWithTransform = shouldColliderScaleAndRotateWithTransform;
			_isPositionDirty = _isRotationDirty = true;
			return this;
		}