Exemple #1
0
        private void Validation()
        {
            if (useGlobalEvents)
            {
                foreach (CustomEventToUnityEvent mapping in eventListenerMappings)
                {
                    if (!GenericFactory <EventInfoBase> .CheckIfTypeExists(mapping.eventType))
                    {
                        Debug.Log("No event exists with this name! : " + mapping.eventType);
                    }
                }
            }

            if (useLocalEvents)
            {
                foreach (CustomEventToUnityEvent mapping in localEventListenerMappings)
                {
                    if (!GenericFactory <EventInfoBase> .CheckIfTypeExists(mapping.eventType))
                    {
                        Debug.Log("No event exists with this name! : " + mapping.eventType);
                    }
                }
            }
        }