編輯

共用方式為


BoundsControl.BoundsOverride Property

Definition

For complex objects, automatic bounds calculation may not behave as expected. Use an existing Box Collider (even on a child object) to manually determine bounds of bounds control.

public:
 property UnityEngine::BoxCollider ^ BoundsOverride { UnityEngine::BoxCollider ^ get(); void set(UnityEngine::BoxCollider ^ value); };
public UnityEngine.BoxCollider BoundsOverride { get; set; }
member this.BoundsOverride : UnityEngine.BoxCollider with get, set
Public Property BoundsOverride As BoxCollider

Property Value

UnityEngine.BoxCollider

Applies to