Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

[RELEASED] Prefab Manager for Unity

Discussion in 'Assets and Asset Store' started by eagleTiger, Aug 8, 2017.

  1. eagleTiger

    eagleTiger

    Joined:
    Apr 20, 2017
    Posts:
    14
    Introduction
    Managing prefabs and make them pool is a major and necessary module of each game.

    As instantiating and destroying calls are really expensive at runtime. So, due to this, it is better to pool instantiated objects and recycle them after use, for future.

    Purpose
    In Unity projects, programmers have to instantiate and destroy various GameObjects at runtime like enemies, particles, powerups, health boxes etc. So, it is better to pool them and recycle them.

    Unity Asset Store Link
    https://www.assetstore.unity3d.com/#!/content/96299

    GitHub Link

    https://github.com/mohsinkhan26/PrefabManager

    BitBucket Link
    https://bitbucket.org/unbounded-eagle/prefab_manager

    Features
    • Easily pool GameObjects in your game
    • Promotes the use of pooling concept
    • Auto scale your pool
    • Prefab manager to spawn and recycle
    • Improve the performance of your game
    • Place prefabs anywhere in Assets/ and just place a reference in PrefabManager
    • Maintains hierarchy under PrefabManager
    • Select when you want to create your pool on Awake, Start or Manually
    • Still, you can update the data of the newly spawned objects
    • Easy to use, Plug n play
    • Open Source code without any DLL

    Usage
    • Import plugin
    • Add enum against your prefab in PrefabType.cs
    • Add respective prefab reference in PrefabManager.prefab
    • Now, just drag PrefabManager.prefab to hierarchy view and call its public functions










    Remember
    • Drag PrefabManager.prefab in the first scene and it will persist
    Special Thanks
    • All the users who provide feedback and suggestions to improve
    • All the users who gave reviews on Asset Store


    Thanks for your support!
     
    MentalGames and theANMATOR2b like this.