Search Results for

    Show / Hide Table of Contents

    Class DewPool

    Inheritance
    object
    DewPool
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public static class DewPool

    Fields

    _clearAction

    Declaration
    public static Dictionary<Type, Action<object>> _clearAction
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<TKey, TValue><System.Type, System.Action<T><object>>

    Methods

    ClearEventsAndProcessors(Component)

    Declaration
    public static void ClearEventsAndProcessors(Component obj)
    Parameters
    Type Name Description
    UnityEngine.Component obj

    GetArray<T>(out ArrayReturnHandle<T>, int)

    Declaration
    public static T[] GetArray<T>(out ArrayReturnHandle<T> handle, int minSize = 128)
    Parameters
    Type Name Description
    ArrayReturnHandle<T> handle
    int minSize
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetDictionary<TKey, TValue>(out DictionaryReturnHandle<TKey, TValue>)

    Get an empty dictionary of TKey, TValue.
    You do not need to clear the dictionary before returning.

    Declaration
    public static Dictionary<TKey, TValue> GetDictionary<TKey, TValue>(out DictionaryReturnHandle<TKey, TValue> handle)
    Parameters
    Type Name Description
    DictionaryReturnHandle<TKey, TValue> handle
    Returns
    Type Description
    System.Collections.Generic.Dictionary<TKey, TValue><TKey, TValue>
    Type Parameters
    Name Description
    TKey
    TValue

    GetList<T>(out ListReturnHandle<T>)

    Get an empty list of T.
    You do not need to clear the list before returning.

    Declaration
    public static List<T> GetList<T>(out ListReturnHandle<T> handle)
    Parameters
    Type Name Description
    ListReturnHandle<T> handle
    Returns
    Type Description
    System.Collections.Generic.List<T><T>
    Type Parameters
    Name Description
    T
    In This Article
    Back to top Shape of Dreams API Documentation