Exemple #1
0
 void Awake()
 {
     #if !NOT_TWITCH
     _twitchChatClient = TwitchChatClient.Instance;
     _twitchChatClient.AddOnCommandReceived(OnCommand);
     #endif
 }
Exemple #2
0
 void Start()
 {
     #if NOT_TWITCH
     debugInput.AddListener((command) => ProcessCommand(command));
     #else
     _twitchChatClient = TwitchChatClient.Instance;
     _twitchChatClient.AddOnCommandReceived(OnCommand);
     #endif
 }