Beispiel #1
0
        void Start()
        {
            currentContextProps = BackgroundService.SetPropsForBackgroundContext(propsPool, currentBackgroundContext, maxPropsAmount, backgroundDisplay);

            for (int i = 0; i < currentContextProps.Count; i++)
            {
                currentContextProps[i].gameObject.SetActive(true);
            }
            ChangeBackgroundColor();

            lastBackground = BackgroundService.GetLastBackground();
        }