예제 #1
0
 public void Start()
 {
     //ハイスコアを表示する
     hiScoreLabel.text = "Hi-score : " + PlayerPrefs.GetInt("Hiscore") + "pts";
     titlesoundEffect = GameObject.Find("TitleSoundController").GetComponent<TitleSoundEffect>();
 }
예제 #2
0
 void Awake()
 {
     titleSoundEffect = GameObject.Find("TitleSoundEffect").GetComponent<TitleSoundEffect>();
     titleBGM = GameObject.Find ("TitleBGM").GetComponent<AudioSource>();
 }