public IEnumerator EnterStationDetail_Tut_S3() { Debug.Log("LETS SEE THE TRANSITION????"); Animator myAnim = MapCar.GetComponent <Animator>(); myAnim.SetTrigger("idle"); myAnim = matchButton.GetComponent <Animator>(); myAnim.SetTrigger("blingbling"); HideHint(); yield return(null); }
public IEnumerator EnterMap_Tut_S2() { isInstruction = true; Animator myAnim = MapInSubway.GetComponent <Animator>(); myAnim.SetTrigger("idle"); FinalCameraController.enableScroll = true; GoBackButton.SetActive(false); Hide(MapCar.GetComponent <CanvasGroup>()); MapCar_Tut_S2.SetActive(true); MapTutorialBubble.SetActive(true); yield return(new WaitForSeconds(2f)); ShowHint(); MapTutorialBubble.SetActive(false); }
void Start() { Resources.UnloadUnusedAssets(); FinalCameraController = GameObject.Find("Main Camera").GetComponent <FinalCameraController>(); SubwayMovement = GameObject.Find("---StationController").GetComponent <SubwayMovement>(); RatingSystem = GameObject.Find("FloatingUI").GetComponent <RatingSystem>(); FishBossNotification = GameObject.Find("FishBossUI").GetComponent <FishBossNotification>(); PathFollower = MapCar.GetComponent <PathFollower>(); carCG = MapCar.GetComponent <CanvasGroup>(); int skipInstruction = PlayerPrefs.GetInt("skip", -1); if (skipInstruction == 1) { skip = true; } GameObject.Find("Main Camera").transform.position = new Vector3(0, 0, -20); if (!skip) { } else { //FinalCameraController.myCameraState = FinalCameraController.CameraState.Subway; //ShowRatingSys(false); //CloseInstruction(); EndMapTutorial(); } comicList.Add(new List <Sprite>()); comicList[0].AddRange(comics1); comicList.Add(new List <Sprite>()); comicList[1].AddRange(comics2); }
public void UpdateStage() { Debug.Log("let's see "); Hide(transitComic.GetComponent <CanvasGroup>()); HideHint(); MapCar_Tut_S2.SetActive(false); Show(MapCar.GetComponent <CanvasGroup>()); isInstruction = false; stageTransiting = false; comicClick = 0; upgradeReadyOrNot = false; stageTransiting = false; SubwayMovement.pauseBeforeMove = false; stage++; //ShowRatingSys(true); return; }