void Start() { gameManager = GameObject.Find("Follow Camera").GetComponent<GmaeManage>(); if(gameManager.consoleControllerType == ConsoleControllerType.PS3){ tutorial = GameObject.Find ("Tutorial_PS3").GetComponent<Tutuorial> (); }else if(gameManager.consoleControllerType == ConsoleControllerType.XBox){ tutorial = GameObject.Find ("Tutorial_XBox").GetComponent<Tutuorial> (); } }
void Start() { gameManager = GameObject.Find ("Follow Camera").GetComponent<GmaeManage> (); umbrellaObject = GameObject.Find ("Umbrella").transform; umbrellaModel = umbrellaObject.GetComponent<Animator> (); if (gameManager.consoleControllerType == ConsoleControllerType.PS3) { gameTutorial = GameObject.Find ("Tutorial_PS3").GetComponent<Tutuorial> (); } else if (gameManager.consoleControllerType == ConsoleControllerType.XBox) { gameTutorial = GameObject.Find ("Tutorial_XBox").GetComponent<Tutuorial> (); } }
void Start() { gameManager = GameObject.Find ("Follow Camera").GetComponent<GmaeManage> (); umbrella = GameObject.Find ("main_Sphere"); if (gameManager.consoleControllerType == ConsoleControllerType.PS3) { tutorial = GameObject.Find ("Tutorial_PS3").GetComponent<Tutuorial> (); } else if (gameManager.consoleControllerType == ConsoleControllerType.XBox) { tutorial = GameObject.Find ("Tutorial_XBox").GetComponent<Tutuorial> (); } achieves = GameObject.Find ("Follow Camera").GetComponent<Achievements> (); rb = umbrella.GetComponent<Rigidbody> (); umbrellaCol = umbrella.GetComponent<Collider> (); }
void Start() { gameManager = GameObject.Find ("Follow Camera").GetComponent<GmaeManage> (); if (gameManager.consoleControllerType == ConsoleControllerType.PS3) { tutorial = GameObject.Find ("Tutorial_PS3").GetComponent<Tutuorial> (); } else if (gameManager.consoleControllerType == ConsoleControllerType.XBox) { tutorial = GameObject.Find ("Tutorial_XBox").GetComponent<Tutuorial> (); } npc_TutorialMission = GameObject.Find ("Missions").GetComponent<NPC_TutorialMission> (); caughtPiece = transform.parent.transform.FindChild ("Pickup_pole").gameObject; activeLight = GameObject.Find("Pickup_pole").transform.FindChild ("Activate").GetComponent<Light> (); //finds the light attahed to the caughtpiece windParticles = transform.FindChild("Windmill Particle System").gameObject; // not sure what this is used for handle = GameObject.Find ("handle").transform; moveTo = GameObject.Find ("MoveTo").transform; GetComponent<AudioSource> ().enabled = false; cmaeraMove = GameObject.Find ("Follow Camera").GetComponent<_MoveCamera> (); }