コード例 #1
0
ファイル: Menhir.cs プロジェクト: gersande/wanderersggj16
    private void Awake()
    {
        singState = new SingState (this);
        idleState = new IdleState (this);
		audioSource = gameObject.GetComponent<AudioSource> ();
		audioSource.clip = song;
    }
コード例 #2
0
ファイル: Menhir.cs プロジェクト: leifurhauks/wanderersggj16
    private void Awake()
    {
        singState = new SingState (this);
        idleState = new IdleState (this);
		audio = GetComponent<AudioSource>();
    }