Game Development Reference
In-Depth Information
Figure 2-10. Add Component pop-up windows). for adding a new script
The script is now listed in the Inspector as a component of the GameObject, and you will see an icon
for the script has appeared in the Assets folder (Figure 2-11 ).
Figure 2-11. New script in the Inspector panel as a component and the Project panel Assets as an icon
Click once on this icon to select it and see the contents of the script in the Inspector (Figure 2-12 ).
 
Search WWH ::




Custom Search