Esempio n. 1
0
        internal bool TryGetUserArgs <TEventType, TCallbackArgs>(EventCallback <TEventType, TCallbackArgs> callback, TrickleDown useTrickleDown, out TCallbackArgs userData) where TEventType : EventBase <TEventType>, new()
        {
            userData = default(TCallbackArgs);

            if (m_CallbackRegistry != null)
            {
                return(m_CallbackRegistry.TryGetUserArgs(callback, useTrickleDown, out userData));
            }

            return(false);
        }