Skip to content

Valerio-Corso/VContainer-ViewPool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A basic pool implementation that lets you easily register any Monobehavior as a Unity objectPool.

Installation

Add to your manifest.json the following

"com.valeriocorso.vcontainer-pool": "https://github.com/Valerio-Corso/VContainer-ViewPool.git?path=Assets/VContainerPool#main

Usage

using Vcontainer.ObjectPool;

...
[SerializeField] private StorageSlotView storageSlotView;

...
builder.RegisterViewPoolFactory(storageSlotView, new ViewPoolConfig(5,"StorageSlotViewPool"), Lifetime.Singleton);

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages