void Start() { Application.runInBackground = true; TwitchChatClient.singleton.userName = "******"; TwitchChatClient.singleton.oAuthPassword = "******"; TwitchChatClient.singleton.JoinChannel("twitchlandrpg"); TwitchChatClient.singleton.AddChatListener(OnChatMessage); TwitchChatClient.singleton.EnableWhispers(); commandsTutorial = Commander.GetComponent <CommandsTutorial> (); commandsTravel = Commander.GetComponent <CommandsTravel> (); commandsLoadSave = Commander.GetComponent <CommandsLoadSave> (); commandsManageStats = Commander.GetComponent <CommandsManageStats> (); //commandsEquip = Commander.GetComponent<CommandsEquip> (); commandsMisc = Commander.GetComponent <CommandsMisc> (); playerCreator = PlayerCreator.GetComponent <PlayerCreator> (); }
void Start() { itemBank = this.gameObject.GetComponent <ItemBank> (); commandsManageStats = this.gameObject.GetComponent <CommandsManageStats> (); }