Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Free Simple Object Pooling Script

Discussion in 'Assets and Asset Store' started by cdrandin, Apr 16, 2014.

  1. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    Hello,

    Here I have a simple object pooling script which hopefully is helpful for everyone else that would like one.

    I don't believe it is optimized in performance, but merely get's the job done

    Simple Object Pooling

    This is a project and has a working scene. Physics objects are randomly spawned with "spacebar" and removed randomly with "backspace".

    ENJOY.
     
    Last edited: Apr 17, 2014
  2. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    bump to give to more people
     
  3. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
  4. msbranin

    msbranin

    Joined:
    Jan 19, 2009
    Posts:
    104
    thank you!!
     
  5. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    yeah no worries
     
  6. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    I will update this in a bit. To take out the extra step of you having to put the script in the scene. I will do it automatically in the next version.
     
  7. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    Alrighty, that has been updated. Waiting for approval to get this up on the Unity Asset Store
     
  8. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    Wanted to do a fresh bump to get more people to access the script.
     
  9. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    bump for more people. Waiting to get approval for the asset store.
     
  10. cdrandin

    cdrandin

    Joined:
    Dec 10, 2012
    Posts:
    24
    bump for more people