void Start() { mTileManager = gameObject.GetComponent<TileManager>(); mWaveManager = gameObject.GetComponent<WaveManager>(); mTempoManager = gameObject.GetComponent<TempoManager>(); mLevelManager = gameObject.GetComponent<LevelManager>(); mTilePaths = new TilePath[2]; if (mTileManager) { mLoadSuccess = true; mEnemyList = new List<GameObject>(); mTilePaths[0] = mTileManager.GetTilePathOne(); mTilePaths[1] = mTileManager.GetTilePathTwo(); mTimer = 0.0f; } }