Пример #1
0
        protected override void Awake()
        {
            base.Awake();

            screenSupervisor = FindObjectOfType <ScreenSupervisor>();

            if (!screenSupervisor)
            {
                Debug.LogWarning("There are no 'Screen Supervisors' in the scene.", gameObject);
            }

            appAlertDispatcher = new AppAlertDispatcher(customAlertAdapter);

            backgroundBlockerAnimation?.SetUp();
        }
Пример #2
0
 protected virtual void Awake()
 {
     uiAnimation = GetComponent <UIAnimation>();
     uiAnimation.SetUp();
 }