Ejemplo n.º 1
0
        private void Awake()
        {
            m_flappyBirdGameController = GameObject.FindObjectOfType <FlappyBirdGameController>();

            m_gameState = GameObject.FindObjectOfType <FlappyBirdGameState>();

            m_udpHelper = GameObject.FindObjectOfType <UDPHelper>();

            m_appState = GameObject.FindObjectOfType <AppState>();
        }
        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>();
        }
        private void Awake()
        {
            m_gameState = GameObject.FindObjectOfType <FlappyBirdGameState>();

            m_obstacleSpawner = GameObject.FindObjectOfType <ObstacleSpawnerController>();

            m_fingerForceDataProvider = GameObject.FindObjectOfType <FingerForceDataProvider>();

            m_appState = GameObject.FindObjectOfType <AppState>();

            m_udpHelper = GameObject.FindObjectOfType <UDPHelper>();

            m_playerController = GameObject.FindObjectOfType <PlayerController>();
        }
Ejemplo n.º 4
0
        private void Awake()
        {
            m_text = GetComponent <Text>();

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