How would making an ingame console work with an input field? I would know how to execute a certain function if the string we typed into the input field is the "command" we've set, but how do i change an int for example with those commands?
A Practical Example: "!set myint 55" Should execute a Function to set the variable "myint" to "55"
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
311 People are following this question.
Multiple Cars not working
Distribute terrain in zones
AudioClip stuttering while loop is OFF and not using function Update?
Script variable can be referenced in Start but not in update.
Take health from enemy