Inherits MonoBehaviour.
Inherited by MoreMountains.Tools.MMPoolableObject.
|  | 
| virtual Bounds | GetBounds () | 
|  | Returns the bounds of the object, based on what has been defined. 
 | 
|  | 
| virtual void | Reset () | 
|  | When this component is added we define its bounds. 
 | 
| virtual void | DefineBoundsChoice () | 
|  | Tries to determine automatically what the bounds should be based on. 
 | 
|  | 
| 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:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMObjectPool/MMObjectBounds.cs