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