private void RebuildScenario() { if (defeated) { string[] initText = { "You had defeated" + enemy.EnemyName + ", he's laying on the ground and lost his consciousness." }; scenarioScript = new List <string>(initText); } else { scenarioScript = new List <string>() { " It's time! ", " You have to finally face the Evil President!", " The Evil President is 336 years old.", " And he has ONE famous Momento: ", " Respect me! I am OLD! ", " Now, Time to fight. " }; } battleLog.ClearOldElement(); NpcUI.text = ""; //Reset character for testing purpose //enemy.Reset (); //player.Reset (); }
private void ScenarioFinished() { scenarioScriptIndex = 0; talkButton.onClick.RemoveListener(OnTalk); theEvent.Finish(); battleLog.ClearOldElement(); // Unclock Player movement player.unlockPlayer(); }
private void RebuildScenario() { string[] initText = { "You had defeated" + enemy.EnemyName + ", he's laying on the ground and lost his consciousness." }; scenarioScript = new List <string>(initText); battleLog.ClearOldElement(); NpcUI.text = ""; //Reset character for testing purpose //enemy.Reset (); //player.Reset (); }
private void RebuildScenario() { string[] initText = { "The Korean brothers ran away, the president is safe now." }; scenarioScript = new List <string>(initText); battleLog.ClearOldElement(); NpcUI.text = ""; //Reset character for testing purpose //enemy.Reset (); //player.Reset (); }
private void RebuildScenario() { string[] initText = { "The BU GUY LIED on the ground peacefully with a smile on his face." }; scenarioScript = new List <string>(initText); battleLog.ClearOldElement(); NpcUI.text = ""; //Reset character for testing purpose //enemy.Reset (); //player.Reset (); }