Game Development Reference
In-Depth Information
Figure 15.17
The code block that activates when the player clicks on the button.
functions are contained within the ChatProcessor.cs file, you must double-click
on the file in the Project Explorer to bring up the code.
You are now in the ChatProcessor file, but before you add any code, you need to
tell this file that you are going to be using the namespace UserScripts .Without
this code, the script won
'
t run. You can see this extra line of code in Figure 15.18.
Figure 15.18
The UserScripts line required to access the code.
Search WWH ::




Custom Search