⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class PoolManager

    Inheritance
    Object
    NeoFpsManagerBase
    NeoFpsManager<PoolManager>
    PoolManager
    Inherited Members
    NeoFpsManager<PoolManager>.instance
    NeoFpsManager<PoolManager>.GetInstance(String, Boolean)
    NeoFpsManager<PoolManager>.OnDestroy()
    NeoFpsManager<PoolManager>.GetBehaviourProxy<B>()
    NeoFpsManager<PoolManager>.Initialise()
    NeoFpsManagerBase.GetSharedGameobject()
    NeoFpsManagerBase.DisableRuntimeManagers()
    NeoFpsManagerBase.EnableRuntimeManagers()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class PoolManager : NeoFpsManager<PoolManager>

    Properties

    defaultPoolSize

    Declaration
    public static int defaultPoolSize { get; }
    Property Value
    Type Description
    System.Int32

    poolIncrement

    Declaration
    public static int poolIncrement { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    CreatePool(PooledObject)

    Declaration
    public static void CreatePool(PooledObject prototype)
    Parameters
    Type Name Description
    PooledObject prototype

    CreatePool(PooledObject, Int32)

    Declaration
    public static void CreatePool(PooledObject prototype, int count)
    Parameters
    Type Name Description
    PooledObject prototype
    System.Int32 count

    GetPooledObject<T>(PooledObject, Boolean)

    Declaration
    public static T GetPooledObject<T>(PooledObject prototype, bool activate = true)
        where T : class
    Parameters
    Type Name Description
    PooledObject prototype
    System.Boolean activate
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetPooledObject<T>(PooledObject, Vector3, Quaternion, Boolean)

    Declaration
    public static T GetPooledObject<T>(PooledObject prototype, Vector3 position, Quaternion rotation, bool activate = true)
        where T : class
    Parameters
    Type Name Description
    PooledObject prototype
    Vector3 position
    Quaternion rotation
    System.Boolean activate
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetPooledObject<T>(PooledObject, Vector3, Quaternion, Vector3, Boolean)

    Declaration
    public static T GetPooledObject<T>(PooledObject prototype, Vector3 position, Quaternion rotation, Vector3 scale, bool activate = true)
        where T : class
    Parameters
    Type Name Description
    PooledObject prototype
    Vector3 position
    Quaternion rotation
    Vector3 scale
    System.Boolean activate
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    IsValid()

    Declaration
    public override bool IsValid()
    Returns
    Type Description
    System.Boolean
    Overrides
    NeoFpsManagerBase.IsValid()

    OnValidate()

    Declaration
    protected void OnValidate()

    ReturnObjectDelayed(PooledObject, Single)

    Declaration
    public static void ReturnObjectDelayed(PooledObject obj, float delay)
    Parameters
    Type Name Description
    PooledObject obj
    System.Single delay

    ReturnObjectToPool(PooledObject)

    Declaration
    public static void ReturnObjectToPool(PooledObject obj)
    Parameters
    Type Name Description
    PooledObject obj

    SetCurrentScenePoolInfo(ScenePoolHandler)

    Declaration
    public static void SetCurrentScenePoolInfo(ScenePoolHandler to)
    Parameters
    Type Name Description
    ScenePoolHandler to
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX