void Start() { orbScript = orbObj.GetComponent <OrbScript>(); swipeCode = playerObject.GetComponent <SwipeCode>(); CheckTutorialAvailable(); positionOperator = MainframeBody.GetComponent <PositionOperator>(); }
void Start() { rotationSelection = mainframe.GetComponent <RotationSelection>(); GameObject MainframeController = GameObject.FindWithTag("MainframeController"); mainframeController = MainframeController.GetComponent <MainframeController>(); mainframeActionSelection = MainframeController.GetComponent <MainframeActionSelection>(); positionOperator = mainframeBody.GetComponent <PositionOperator>(); materialChanger = GetComponent <MaterialChanger>(); guiManager = guiManagerObject.GetComponent <GUIManager>(); PreparationOfTheFirstGame(); }
void Start() { orbScript = particles.GetComponent <OrbScript>(); cameraMovement = mainCameraObject.GetComponent <CameraMovement>(); topScoreScript = TopScoreHolder.GetComponent <TopScore>(); GUIMainframeBody = MainframeBody.GetComponent <SplineFollower>(); GUImainCamera = mainCamera.GetComponent <SplineFollower>(); playMesh = playIcon.GetComponent <MeshRenderer>(); arrayTest = gameManager.GetComponent <ArrayTest>(); guiMainframeScript = MainframeBody.GetComponent <GUImainframeScript>(); score = gameManager.GetComponent <Score>(); adManager = Ads.GetComponent <AdManager>(); positionOperator = MainMainframeBody.GetComponent <PositionOperator>(); tutorialScript = GetComponent <TutorialScript>(); }