Example #1
0
        private void RegisterProvider(IContextProvider contextProvider)
        {
            if (!contextProvider.Active)
            {
                Debug.LogWarning($"IContextProvider for type {contextProvider.GetType().Name} was in active; skipping registration. Most likely component was removed from GameObject.");
                return;
            }

            _contextProviders[contextProvider.ProviderType] = contextProvider;
        }