Game Development Reference
In-Depth Information
NavigationManager.NavigateTo("World");
}
if (selectedWeapon == null)
{
GUI.Box(new Rect((Screen.width / 2) - 50, 10, 100,
50), "Select Weapon");
}
break;
case BattleState.Player_Attack:
break;
case BattleState.Change_Control:
break;
case BattleState.Enemy_Attack:
break;
case BattleState.Battle_Result:
break;
default:
break;
}
}
In the Intro part, we display a simple message to inform the player about the battle, and
when it is the player's turn, we display the Select Weapon message until they have selec-
ted one.
Search WWH ::




Custom Search