MCUtilities Methods |
The MCUtilities type exposes the following members.
| Name | Description | |
|---|---|---|
| ConvertIntToShortStringRepresentation |
Converts an integer value to the short string representation.
| |
| CornerPoints(Bounds) |
The extension method, which gets corner points of a bounds.
| |
| CornerPoints(Bounds, Quaternion) |
Gets corner points of the bounds with specified rotation.
| |
| DrawHandleAllAxis |
Draws all axis.
| |
| DrawHandleAxis |
Draws an axis.
| |
| DrawHandleWireCube |
Draws a wire cube.
| |
| DrawSizeHandleLabel |
Draws a size handle label.
| |
| GetAverage |
Gets the average of the three vectors.
| |
| GetAxisEndPoints |
Gets end points of x, y and z axis.
| |
| GetChecksum |
Calculates the checksum of an objects array.
| |
| Inverse |
Extension method, which inverts quaternion.
| |
| IsPrefab |
Checks that GameObject are prefab.
| |
| RoundValueWithPrecision |
Rounds input value, based on precision preference.
| |
| TransformSelectionToGameObjects |
Transforms selection to GameObject |