错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Building and Selling

  • Casey Hardman

摘要

With our UI in place, it’s time to hook it up with its functionality, giving our player the ability to build and sell towers. This will teach us how to handle events for our UI to respond to clicks on our buttons. We’ll also be learning how to use a fundamental new type, the Dictionary, which will be a lifesaver for storing and retrieving towers we’ve built.