private void Start()
        {
            gameManager = GetComponentInParent <MinigameManager2>();
            lifes       = new Lifes(Lifes);

            subscribeToEvents();
        }
예제 #2
0
        private void Start()
        {
            gameManager = GetComponentInParent <MinigameManager2>();

            parallaxer = new Parallaxer(
                ObjectToParallax,
                SelectMovementPostion,
                ParallaxSpeed,
                CurrentCamera,
                gameManager.transform.position,
                transform);
        }