Пример #1
0
        private void Start()
        {
            gameManager = GetComponentInParent <MinigameManagerDefault>();

            parallaxer = new Parallaxer(
                ObjectToParallax,
                SelectMovementPostion,
                ParallaxSpeed,
                CurrentCamera,
                gameManager.transform.position,
                transform);
        }
Пример #2
0
 public void Awake()
 {
     MinigameManager = GetComponentInParent <MinigameManagerDefault>();
 }