Add this class to an object that you expect to pool from an objectPooler.  
 More...
Inherits MoreMountains.Tools.MMObjectBounds.
|  | 
| delegate void | Events () | 
| virtual void | Destroy () | 
|  | Turns the instance inactive, in order to eventually reuse it. 
 | 
| virtual void | TriggerOnSpawnComplete () | 
|  | Triggers the on spawn complete event. 
 | 
| virtual Bounds | GetBounds () | 
|  | Returns the bounds of the object, based on what has been defined. 
 | 
|  | 
| virtual void | Update () | 
|  | Called every frame. 
 | 
| virtual void | OnEnable () | 
|  | When the objects get enabled (usually after having been pooled from an ObjectPooler, we initiate its death countdown. 
 | 
| virtual void | OnDisable () | 
|  | When the object gets disabled (maybe it got out of bounds), we cancel its programmed death. 
 | 
| 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. 
 | 
Add this class to an object that you expect to pool from an objectPooler. 
Note that these objects can't be destroyed by calling Destroy(), they'll just be set inactive (that's the whole point). 
◆ Destroy()
  
  | 
        
          | virtual void MoreMountains.Tools.MMPoolableObject.Destroy | ( |  | ) |  |  | virtual | 
 
Turns the instance inactive, in order to eventually reuse it. 
 
 
◆ Events()
      
        
          | delegate void MoreMountains.Tools.MMPoolableObject.Events | ( |  | ) |  | 
      
 
 
◆ OnDisable()
  
  | 
        
          | virtual void MoreMountains.Tools.MMPoolableObject.OnDisable | ( |  | ) |  |  | protectedvirtual | 
 
When the object gets disabled (maybe it got out of bounds), we cancel its programmed death. 
 
 
◆ OnEnable()
  
  | 
        
          | virtual void MoreMountains.Tools.MMPoolableObject.OnEnable | ( |  | ) |  |  | protectedvirtual | 
 
When the objects get enabled (usually after having been pooled from an ObjectPooler, we initiate its death countdown. 
 
 
◆ TriggerOnSpawnComplete()
  
  | 
        
          | virtual void MoreMountains.Tools.MMPoolableObject.TriggerOnSpawnComplete | ( |  | ) |  |  | virtual | 
 
Triggers the on spawn complete event. 
 
 
◆ Update()
  
  | 
        
          | virtual void MoreMountains.Tools.MMPoolableObject.Update | ( |  | ) |  |  | protectedvirtual | 
 
 
◆ ExecuteOnDisable
      
        
          | UnityEvent MoreMountains.Tools.MMPoolableObject.ExecuteOnDisable | 
      
 
 
◆ ExecuteOnEnable
      
        
          | UnityEvent MoreMountains.Tools.MMPoolableObject.ExecuteOnEnable | 
      
 
 
◆ LifeTime
      
        
          | float MoreMountains.Tools.MMPoolableObject.LifeTime = 0f | 
      
 
The life time, in seconds, of the object. If set to 0 it'll live forever, if set to any positive value it'll be set inactive after that time. 
 
 
◆ OnSpawnComplete
      
        
          | Events MoreMountains.Tools.MMPoolableObject.OnSpawnComplete | 
      
 
 
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMObjectPool/MMPoolableObject.cs