void Start() { if (selectSEPath != "") { SoundMgr.SoundLoadSe("SelectSE", selectSEPath); } }
void Start() { active = 0; activeTime = 4; timeText = timeText.GetComponent <Text>(); isCount = false; isTimeUp = false; limitTime = time; minite = ((int)(limitTime)) / 60; limitTime = minite * 60 + second; oldSecond = 0; GameStartText = GameStartText.GetComponent <Text>(); GameStartText2 = GameStartText2.GetComponent <Text>(); StartCoroutine(Count()); SoundMgr.SoundLoadBgm("img_Title2", "Invader/img_Title2"); SoundMgr.SoundLoadBgm("Boss00", "Invader/Boss00"); SoundMgr.SoundLoadSe("Count_3,2,1", "Invader/Count_3,2,1"); SoundMgr.SoundLoadSe("BossAlert", "Invader/BossAlert"); SoundMgr.SoundLoadSe("TimeOver_A", "Invader/TimeOver_A"); }
void Start() { rend = GetComponent <Renderer>(); StartCoroutine(DeadEffectCreate()); StartCoroutine(ColorChange()); //プレイヤー if (PlayerShot) { this.GetComponent <Rigidbody>().AddForce( (transform.forward) * speed, ForceMode.VelocityChange); } //敵 if (!PlayerShot && isleft) { this.GetComponent <Rigidbody>().AddForce( (transform.forward + transform.right) * -speed, ForceMode.VelocityChange); } if (!PlayerShot && !isleft) { this.GetComponent <Rigidbody>().AddForce( (transform.forward - transform.right) * -speed, ForceMode.VelocityChange); } //10s消滅させる Destroy(this.gameObject, 10); //サウンドロード SoundMgr.SoundLoadSe("Bounce", "Invader/Bounce"); }
void Start() { if (SpecialModeData.Time < 5) { currentTime = 5; } else if (SpecialModeData.Time > 20) { currentTime = 20; } else { currentTime = SpecialModeData.Time; } SoundMgr.SoundLoadBgm("SpecialBGM", "UDCommand/SpecialBGM"); SoundMgr.SoundLoadSe("SpecialSE", "UDCommand/SpecialSE"); SoundMgr.SoundLoadSe("UDCGameEnd", "UDCommand/Finish"); SoundMgr.SoundLoadSe("UDCDecide", "UDCommand/Decide"); if (SoundMgr.isBgmPlaying("SpecialBGM") == 0) { SoundMgr.PlayBgm("SpecialBGM", 0.3f); } trans = GameObject.FindGameObjectWithTag("Transition Handler"); instructText.SetActive(true); resultCanvas.SetActive(false); textAnim.SetActive(false); }
void Start() { firstSymbol = secondSymbol = thirdSymbol = Symbol.A; currentLetter = 0; subCanvas.SetActive(false); if (useScorePlaceholder) { if (scorePlaceholder == "") { scorePlaceholder = "Score : "; } } if (useNamePlaceholder) { if (namePlaceholder == "") { namePlaceholder = "Name : "; } } SoundMgr.SoundLoadSe("RecordDecide", decideSEPath); SoundMgr.SoundLoadSe("RecordSelect", selectSEPath); SoundMgr.SoundLoadSe("RecordNew", newRecordSEPath); SoundMgr.PlaySe("RecordNew"); }
void Start() { SoundMgr.SoundLoadSe("Start", "Invader/Start"); SoundMgr.SoundLoadBgm("Window_Rule", "Invader/Window_Rule"); SoundMgr.PlayBgm("Window_Rule", 0.3f); trans = GameObject.FindGameObjectWithTag("Transition Handler"); }
void Start() { images = new List <UDC.ImageType>(); commandObjects = new List <GameObject>(); inputList = new List <TFC.InputType>(); trialInputList = new List <TFC.ActionInputs>(); SoundMgr.SoundLoadSe("UDCCorrectCommand", "UDCommand/CorrectCommand"); SoundMgr.SoundLoadSe("UDCCorrectList", "UDCommand/CorrectList"); SoundMgr.SoundLoadSe("UDCMissCommand", "UDCommand/MissCommand"); SoundMgr.SoundLoadSe("UDCGameEnd", "UDCommand/Finish"); }
public bool isRule; //ルール画面かどうか void Start() { _rigidbody = GetComponent <Rigidbody>(); interval = 0; isDead = false; //サウンドロード SoundMgr.SoundLoadSe("Shot", "Invader/Shot"); SoundMgr.SoundLoadSe("Death", "Invader/Death"); SoundMgr.SoundLoadSe("End", "Invader/End"); }
void Start() { SoundMgr.SoundLoadBgm("UDCBGM", "UDCommand/BGM"); SoundMgr.SoundLoadSe("UDCDecide", "UDCommand/Decide"); if (SoundMgr.isBgmPlaying("UDCBGM") != 1) { SoundMgr.PlayBgm("UDCBGM", 0.3f); } trans = GameObject.FindGameObjectWithTag("Transition Handler"); }
void Start() { _Slider = GameObject.Find("BossHPSlider").GetComponent <Slider>(); HP = hp; //Sliderに値を設定 _Slider.maxValue = HP; _Slider.value = HP; isDead = false; StartCoroutine(HPBer()); //サウンドロード SoundMgr.SoundLoadSe("Shot", "Invader/Shot"); SoundMgr.SoundLoadSe("Death", "Invader/Death"); SoundMgr.SoundLoadSe("Spawn", "Invader/Spawn"); SoundMgr.SoundLoadSe("ClearFanfare", "Invader/ClearFanfare"); }
float moveTime; //移動 void Start() { interval = 0; active = 0; mScore = getScore; //登場エフェクト Instantiate(EffectSummon, new Vector3(transform.position.x, transform.position.y, transform.position.z), Quaternion.identity); //サウンドロード SoundMgr.SoundLoadSe("Shot", "Invader/Shot"); SoundMgr.SoundLoadSe("Death", "Invader/Death"); //タイトルのやつはsで消す if (isTitle) { Destroy(this.gameObject, 90); } }
void Start() { SoundMgr.SoundLoadSe("Start", "Invader/Start"); trans = GameObject.FindGameObjectWithTag("Transition Handler"); }
// Use this for initialization void Start() { SoundMgr.SoundLoadSe("Push", "Invader/Push"); SoundMgr.SoundLoadBgm("Result_A", "Invader/Result_A"); SoundMgr.PlayBgm("Result_A"); }