private void Start() { gameManager = GetComponentInParent <MinigameManagerDefault>(); parallaxer = new Parallaxer( ObjectToParallax, SelectMovementPostion, ParallaxSpeed, CurrentCamera, gameManager.transform.position, transform); }
public void Awake() { MinigameManager = GetComponentInParent <MinigameManagerDefault>(); }