C# Класс SimplePM.SimplePoolManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddOnCreatedDelegate ( string poolName, OnCreatedDelegate createdDelegate ) : void
ContainsSpawnPool ( string poolName ) : bool
CreateSpawnPool ( string poolName ) : SpawnPool
CreateSpawnPool ( string poolName, GameObject owner ) : SpawnPool
DestroyAllSpawnPool ( ) : void
DestroySpawnPool ( string poolName ) : bool
Instance ( ) : SimplePoolManager
RemoveOnCreatedDelegate ( string poolName, OnCreatedDelegate createdDelegate ) : void

Приватные методы

Метод Описание
AddSpawnPool ( SpawnPool spawnPool ) : void
AssertValidPoolName ( string poolName ) : bool
RemoveSpawnPool ( SpawnPool spawnPool ) : bool

Описание методов

AddOnCreatedDelegate() публичный Метод

public AddOnCreatedDelegate ( string poolName, OnCreatedDelegate createdDelegate ) : void
poolName string
createdDelegate OnCreatedDelegate
Результат void

ContainsSpawnPool() публичный Метод

public ContainsSpawnPool ( string poolName ) : bool
poolName string
Результат bool

CreateSpawnPool() публичный Метод

public CreateSpawnPool ( string poolName ) : SpawnPool
poolName string
Результат SpawnPool

CreateSpawnPool() публичный Метод

public CreateSpawnPool ( string poolName, GameObject owner ) : SpawnPool
poolName string
owner UnityEngine.GameObject
Результат SpawnPool

DestroyAllSpawnPool() публичный Метод

public DestroyAllSpawnPool ( ) : void
Результат void

DestroySpawnPool() публичный Метод

public DestroySpawnPool ( string poolName ) : bool
poolName string
Результат bool

Instance() публичный статический Метод

public static Instance ( ) : SimplePoolManager
Результат SimplePoolManager

RemoveOnCreatedDelegate() публичный Метод

public RemoveOnCreatedDelegate ( string poolName, OnCreatedDelegate createdDelegate ) : void
poolName string
createdDelegate OnCreatedDelegate
Результат void