1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  3. We’re giving 2017.1 beta testers a chance to win t-shirts and a Nintendo Switch. Read more on the blog.
    Dismiss Notice
  4. We want to know how you learned Unity! Help us by taking this quick survey and have a chance at a $25 gift card
    Dismiss Notice
  5. Are you an artist or level designer going to Unite Europe? Join our roundtables there to discuss artist features.
    Dismiss Notice
  6. Unity 5.6 is now released.
    Dismiss Notice
  7. Check out all the fixes for 5.6 on the patch releases page.
    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:
    766
    [​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:
    766
    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:
    766
    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:
    766