Example #1
0
        protected override void OnLevelLoaded(int levelIndex)
        {
            base.OnLevelLoaded(levelIndex);

            BrandAdElements.Clear();
            BrandAdElements = ComponentExtensions.FindObjectsOfTypeIncludingInactive <BrandAdElement>();

            if (AutoInitialize)
            {
                Initialize();
            }
        }