Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. We're running great holiday deals on subscriptions, swag and Asset Store packages! Take a peek at this blog for more information!
    Dismiss Notice
  3. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  4. Unity 2017.2 is now released.
    Dismiss Notice
  5. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  6. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  8. Unity 2017.3 beta is now available for download.
    Dismiss Notice

[RELEASED] PoolGen - Networked Multi-object pooling system

Discussion in 'Assets and Asset Store' started by GibTreaty, Apr 5, 2017.

  1. GibTreaty

    GibTreaty

    Joined:
    Aug 25, 2010
    Posts:
    769
    [​IMG]

    Asset Store Link

    Documentation
    WebGL Example
    Networked Example (Standalone Player)
    Website


    Description

    PoolGen is a multi-object pooling system with a unique inspector to help you setup your object pools super quick!

    Features
    • UNET networking support via ClientScene.RegisterSpawnHandler (Coming Soon!)
    • Easy to use inspector with object previews
    • Handles different objects in a single pool manager
    • Random weighted chance spawning system
    • UnityEvents for OnPooled, OnSpawn, OnDespawn so you can setup events either through inspector or script
    • A scene with a very basic example of how to use this system
    • A handy ResetRigidbody component to zero out the velocities of the Rigidbody upon spawning
    Note: Some C# knowledge required to incorporate this into your project via scripting. Variables that need to be reset upon spawning/despawning must be implemented by you as this system will not automatically do it for you (ex. character health, level, etc.).

    [​IMG]
    [​IMG]
     
    Last edited: Apr 24, 2017
  2. GibTreaty

    GibTreaty

    Joined:
    Aug 25, 2010
    Posts:
    769
    UNET Networking support for server-controlled spawning has been added. Set the pool to be networked in the inspector, spawn the object on the server and it'll spawn for everyone! How cool is that? This feature will be in version 1.1 which has been submitted for review.
     
  3. GibTreaty

    GibTreaty

    Joined:
    Aug 25, 2010
    Posts:
    769
    I'm going to look into adding support for spawning from the client and having that object's authority be set to that client. I've been told it's possible!
     
  4. GibTreaty

    GibTreaty

    Joined:
    Aug 25, 2010
    Posts:
    769