// Start is called before the first frame update void Start() { newsummonanime = newsummon.GetComponent <Animator>(); statusManager = StatusManagerObj.GetComponent <StatusManager>(); text = sumontext.GetComponent <Text>(); transform.position = new Vector3(Screen.width / 2, Screen.height / 2, 0); Pad = false; gameController = gameControllerObj.GetComponent <GameController>(); sterUILine = sterLineObj.GetComponent <UILineRenderer>(); for (int i = 0; i < glowSterImage.Length; i++) { glowSterImage[i] = SterPos[i].GetComponent <Image>(); SterEfAnime[i] = SterEf[i].GetComponent <Animator>(); } enj = enjObj.GetComponent <Enj>(); shooting = ShootingObj.GetComponent <ShootingEnj>(); }
void Start() { if (StageCobtroller.stageNum == 1 && StageCobtroller.Shooting == false) { TutorialFlg.TutorialReSet(); StageCobtroller.Technique = new int[3] { 0, -1, -1 }; } countinage = countObjct.GetComponent <Image>(); enemyTurn = Random.Range(2, 5); gaged = gageobj.GetComponent <Image>(); animationManager = animeCon.GetComponent <AnimationManager>(); text = textObj.GetComponent <Text>(); nametext = nameObj.GetComponent <Text>(); padController2 = padControllerObj.GetComponent <PadController2>(); enj = EnjObj.GetComponent <Enj>(); statusManager = StatusManagerObj.GetComponent <StatusManager>(); shooting = shootingObj.GetComponent <ShootingEnj>(); startPas = 0; gameMode = 22; summonTutorialTime = 0; AudioManager.Instance.PlayBGM(AudioManager.BgmName.ThemeBGM); switch (StageCobtroller.stageNum) { case 1: Ename = "魚座"; break; case 2: Ename = "蟹座"; break; case 3: Ename = "蛇使い座"; startText.GetComponent <Text>().fontSize = 64; break; } }