GetColliderBounds() private static method

private static GetColliderBounds ( Object collider ) : Bounds
collider Object
return UnityEngine.Bounds
コード例 #1
0
 protected void InspectorEditButtonGUI()
 {
     EditMode.DoEditModeInspectorModeButton(EditMode.SceneViewEditMode.Collider, "Edit Collider", EditorGUIUtility.IconContent("EditCollider"), ColliderEditorBase.GetColliderBounds(base.target), this);
 }
コード例 #2
0
 protected void InspectorEditButtonGUI()
 {
     EditMode.DoEditModeInspectorModeButton(EditMode.SceneViewEditMode.Collider, "Edit Collider", this.editModeButton, ColliderEditorBase.GetColliderBounds(base.target), this);
 }
コード例 #3
0
 protected void InspectorEditButtonGUI()
 {
     UnityEditorInternal.EditMode.DoEditModeInspectorModeButton(UnityEditorInternal.EditMode.SceneViewEditMode.Collider, "Edit Collider", EditorGUIUtility.IconContent("EditCollider"), ColliderEditorBase.GetColliderBounds(this.target), (Editor)this);
 }