I don’t know why this code below return executed. Of course I checked nowWaitingTurn bool to true before start game.
But "TurnUpdate(1); " called.
public bool nowWaitingTurn = true;
public void Update()
{
if (!Application.isPlaying || nowWaitingTurn) return;
switch (m_MapState)
{
case EMapState.Initialize:
AdventureManager.Instance.TurnUpdate(1);
......