コード例 #1
0
        private void Awake()
        {
            m_noteSpawner = GameObject.FindObjectOfType <NoteSpawnerController>();

            m_audioSource = GetComponent <AudioSource>();

            m_guitarHeroGameController = GameObject.FindObjectOfType <GuitarHeroGameController>();
        }
コード例 #2
0
        protected virtual void Awake()
        {
            m_spriteRenderer = GetComponent <SpriteRenderer>();

            m_gameController = GameObject.FindObjectOfType <GuitarHeroGameController>();
        }