Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

ContentDragger.clampToParentEdges

切换到手册
public bool clampToParentEdges ;

描述

如果为 true,它将不允许拖动的元素退出父元素的边缘。