// Update is called once per frame
 void LateUpdate()
 {
     if (mActive && !mParticles.IsAlive())
     {
         PoolController.ReleaseAuto(transform);
     }
 }
        void DoDespawn()
        {
            if (despawnCallback != null)
            {
                despawnCallback(gameObject);
            }

            PoolController.ReleaseAuto(transform);
        }
 public void Release()
 {
     PoolController.ReleaseAuto(this);
 }