doodlechaos / ChaosLeagueLiveOS

Open source interactive livestream for twitch!
GNU General Public License v3.0
24 stars 13 forks source link

No Twitch login when open in editor #18

Open 5jiji opened 8 months ago

5jiji commented 8 months ago

The Twitch login will not popup when opening the game inside the Unity editor itself from now on with this code

This allows to make tiles and test them inside the editor without the popup going up by itself

doodlechaos commented 8 months ago

Hmmm. I thought the automatic authorization was nice. I'm willing to merge this, but can you modify it so that it defaults to auto authorize, and then you can set a value in the config/settings to disable auto authorize in editor? That would be perfect!

5jiji commented 8 months ago

The game is still automatically authorizing, it's just that, if you start the game inside the Unity Editor, it will NOT authorize I'm still gonna try to do that though

doodlechaos commented 8 months ago

Personally when I'm testing in the editor, I still use the Twitch chat for spawning and testing things often.

Jobexi commented 8 months ago

Agreed, I use this functionality by default also.

5jiji commented 8 months ago

Well... gonna try making a config variable then

5jiji commented 8 months ago

Config variable done (i forgot to actually said it was...)