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>(); }