// Use this for initialization void Start() { for (int i = 0; i < enemyCount; i++) { GameObject gb = mf.getTank(); cameraControl.setTarget(gb.transform); } Player.destroyEvent += setGameOver; cameraControl.SetStartPositionAndSize(); }
// Use this for initialization void Start() { // 初始化相机位置 cameraControl.SetStartPositionAndSize(); }