Commit e10f8e1f authored by 16도재형's avatar 16도재형

Minor fix: variable name changed

parent 61a58c6a
......@@ -35,7 +35,7 @@ public class GameManager : MonoBehaviour {
private CivModel.Unit _selectedActor = null;
// Variables from Presenter.cs
public bool IsThereTodos;
public bool isThereTodos;
private CivModel.Unit[] _standbyUnits;
private int _standbyUnitIndex = -1;
......@@ -199,7 +199,7 @@ public class GameManager : MonoBehaviour {
{
_standbyUnitIndex = idx;
_selectedActor = _standbyUnits[idx];
IsThereTodos = true;
isThereTodos = true;
Debug.Log(_selectedActor.PlacedPoint);
Focus();
return;
......@@ -208,7 +208,7 @@ public class GameManager : MonoBehaviour {
_selectedActor = null;
_standbyUnitIndex = -1;
IsThereTodos = false;
isThereTodos = false;
}
}
void SelectUnit(Unit unit)
......@@ -225,7 +225,7 @@ public class GameManager : MonoBehaviour {
_standbyUnits = units;
_standbyUnitIndex = idx;
IsThereTodos = true;
isThereTodos = true;
Focus();
}
......
......@@ -30,7 +30,7 @@ public class UIManager : MonoBehaviour {
void Update()
{
if (GameManager.I.IsThereTodos)
if (GameManager.I.isThereTodos)
{
MapUI.transform.Find("EndTurn").GetComponentInChildren<Text>().text = "유닛이 명령을 기다리고 있습니다";
}
......@@ -140,7 +140,7 @@ public class UIManager : MonoBehaviour {
public void EndTurnActive()
{
SkillSet.SetActive(false);
if (GameManager.I.IsThereTodos)
if (GameManager.I.isThereTodos)
{
GameManager.I.SelectNextUnit();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment