SizeUtilities Class

Definition

Editor utility class to discern world space sizing of objects in scene

public ref class SizeUtilities abstract sealed
public static class SizeUtilities
type SizeUtilities = class
Public Class SizeUtilities
Inheritance
SizeUtilities

Methods

ColliderSize()

Finds all Collider type components on the selected GameObject in scene and returns their world space bounds size.

RendererSize()

Finds the first Renderer type component on the selected GameObject in scene and returns its world space bounds size.

Applies to