中文
Appearance
Animation.localBounds
Animation
当前Animation动画组件在本地空间的边界框。
通过该方法可以获取在本地空间的包围盒信息,对于了解动画在本地坐标系下的尺寸和范围非常有用。
Bounds
let animation = this.gameObject.GetComponent<Animation>(Animation); let local_bounds = animation.localBounds;