コード例 #1
0
    // Use this for initialization
    void Start()
    {
        controller = GameSceneController.getInstance();
        controller.setGameMonitor(this);

        enemyFactory = EnemyFactory.getInstance();
        gameStatus   = transform.GetComponent <GameStatus>();
    }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        controller = GameSceneController.getInstance();
        controller.setGameMonitor(this);

        enemyFactory = EnemyFactory.getInstance();

        data = GameData.getInstance();
        remainTimeOfLevel = data.LevelTime[controller.getLevel()];
    }