|
virtual Bounds | GetBounds () |
| Returns the bounds of the object, based on what has been defined More...
|
|
|
virtual void | Reset () |
| When this component is added we define its bounds. More...
|
|
virtual void | DefineBoundsChoice () |
| Tries to determine automatically what the bounds should be based on. In this order, it'll keep the last found of these : Collider2D, Collider or Renderer. If none of these is found, it'll be set as Undefined. More...
|
|
|
virtual Vector3 | Size [get, set] |
|
◆ WaysToDetermineBounds
Enumerator |
---|
Collider | |
Collider2D | |
Renderer | |
Undefined | |
◆ DefineBoundsChoice()
virtual void MoreMountains.Tools.MMObjectBounds.DefineBoundsChoice |
( |
| ) |
|
|
protectedvirtual |
Tries to determine automatically what the bounds should be based on. In this order, it'll keep the last found of these : Collider2D, Collider or Renderer. If none of these is found, it'll be set as Undefined.
◆ GetBounds()
virtual Bounds MoreMountains.Tools.MMObjectBounds.GetBounds |
( |
| ) |
|
|
virtual |
Returns the bounds of the object, based on what has been defined
◆ Reset()
virtual void MoreMountains.Tools.MMObjectBounds.Reset |
( |
| ) |
|
|
protectedvirtual |
When this component is added we define its bounds.
◆ BoundsBasedOn
◆ Size
virtual Vector3 MoreMountains.Tools.MMObjectBounds.Size |
|
getset |
The documentation for this class was generated from the following file: