private void Awake()
        {
            m_gameState = GameObject.FindObjectOfType <FlappyBirdGameState>();

            m_udpHelper = GameObject.FindObjectOfType <UDPHelper>();

            m_playerController = GameObject.FindObjectOfType <PlayerController>();

            m_obstacleSpawner = GameObject.FindObjectOfType <ObstacleSpawnerController>();

            m_appState = GameObject.FindObjectOfType <HololensAppState>();
        }
Example #2
0
        private void Awake()
        {
            m_appState = GameObject.FindObjectOfType <HololensAppState>();

            m_udpHelper = GameObject.FindObjectOfType <UDPHelper>();
        }