@@ -20,6 +20,10 @@ public class GameManager : MonoBehaviour {
...
@@ -20,6 +20,10 @@ public class GameManager : MonoBehaviour {
floatcameraMoveSpeed;
floatcameraMoveSpeed;
[SerializeField]
[SerializeField]
floatcameraZoomSpeed;
floatcameraZoomSpeed;
[SerializeField]
floatcameraZoomAmount;
[SerializeField]
floatcameraZoomLimit;
// For drawing hex tile
// For drawing hex tile
publicfloatouterRadius=1f;// Outer&inner radius of hex tile.
publicfloatouterRadius=1f;// Outer&inner radius of hex tile.
...
@@ -60,19 +64,12 @@ public class GameManager : MonoBehaviour {
...
@@ -60,19 +64,12 @@ public class GameManager : MonoBehaviour {
// Use this when scene changing exists
// Use this when scene changing exists
// DontDestroyOnLoad(gameObject);
// DontDestroyOnLoad(gameObject);
//_game = new CivModel.Game(GameInfo.mapWidth, GameInfo.mapHeight, GameInfo.numOfPlayer, new GameSchemeFactory()/*, new IGameSchemeFactory[] { new CivModel.AI.GameSchemeFactory()}*/);
//_game = new CivModel.Game(GameInfo.mapWidth, GameInfo.mapHeight, GameInfo.numOfPlayer, new GameSchemeFactory()/*, new IGameSchemeFactory[] { new CivModel.AI.GameSchemeFactory()}*/);