public void showTopButtons() { if(interfacePanel!=null) interfacePanel.gameObject.SetActive(true); trigger = this.GetComponent<ConversationTrigger>(); trigger.conversation = "Welcome Conversation"; trigger.OnUse(); }
public void doConversation(string aConversationName) { SaveGameUtils.setTutorialFlags(); DialogueLua.SetVariable("Tutorials",SaveGameUtils.TUTORIALS_ON); DialogueLua.SetVariable("UsersCash",ChampionshipSeason.ACTIVE_SEASON.getUsersTeam().cash); trigger = this.GetComponent<ConversationTrigger>(); trigger.conversation = aConversationName; trigger.OnUse(); }