// Use this for initialization void Awake() { factory = EnemyFactory.getInstance(); gameFlow = GameSceneController.getInstance() as GameFlow; controller = GameSceneController.getInstance(); waves = GameData.getInstance().waveLists; }
// Use this for initialization void Start() { controller = GameSceneController.getInstance(); controller.setGameMonitor(this); enemyFactory = EnemyFactory.getInstance(); gameStatus = transform.GetComponent <GameStatus>(); }
void Start() { gameSceneController = GameSceneController.getInstance(); gameSceneController.setGameModels(this); data.initLevelData(level); fm.setBalance(data.balance); }
void Start() { gameSceneController = GameSceneController.getInstance(); gameSceneController.setGameStatus(this); gameState = GameState.Running; gamePointManager = GamePointManager.getInstance(); }
// Use this for initialization void Start() { target = WaypointManager.waypoints[0]; enemyFactory = EnemyFactory.getInstance(); controller = GameSceneController.getInstance(); data = GameData.getInstance(); loadEnemyData(); }
// Use this for initialization void Start() { controller = GameSceneController.getInstance(); controller.setGameMonitor(this); enemyFactory = EnemyFactory.getInstance(); data = GameData.getInstance(); remainTimeOfLevel = data.LevelTime[controller.getLevel()]; }
protected virtual void Awake() { GameObject hb = Instantiate(healthBarPrefab, transform); hb.transform.localPosition = new Vector3(0, 0.7f, -1); healthBar = GetComponentInChildren <HealthBar>(); enemyFactory = EnemyFactory.getInstance(); controller = GameSceneController.getInstance(); data = GameData.getInstance(); loadEnemyData(); fullHP = hp; healthBar.FullHealth = fullHP; }
// Use this for initialization void Awake() { controller = GameSceneController.getInstance(); controller.setUIManager(this); }
void Start() { userClickOp = GameSceneController.getInstance() as UserClickOp; sceneClickOp = GameObject.Find("GameManager").GetComponent <SwitchSceneUtil>() as SceneClickOp; }
private FinanceManager() { controller = GameSceneController.getInstance(); }
void Start() { gameSceneController = GameSceneController.getInstance(); gameSceneController.setGameStatus(this); }
private FinanceManager() { // moneyUIText = GameObject.FindWithTag("Money"); controller = GameSceneController.getInstance(); }
// Use this for initialization void Awake() { factory = EnemyFactory.getInstance(); gameFlow = GameSceneController.getInstance() as GameFlow; controller = GameSceneController.getInstance(); }