stillwwater / command_terminal

Unity Command Terminal: In-Game Console
MIT License
445 stars 60 forks source link

CVARS feature? #18

Open ghost opened 5 years ago

ghost commented 5 years ago

Can we have some kind of cvar feature as Valve games have.

so let's the implementation would be something like, and executing cl_showfps 1 will change the bool value?

[Cvar("cl_showfps"] public bool ShowFps;

ghost commented 5 years ago

an example: https://github.com/terrehbyte/TBYTEConsoleApp