Unreal Development Kit Game Programming with UnrealScript:Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Actors as variables

In our discussion of variables in the last chapter, I purposely left out the one that's used most often, but now that we've had a chance to take a look at how classes work and are created, we can talk about how to use Actor classes themselves as variables. We've poked around a little bit in it when we made our Pawn visible and hid the giant floating gun, but let's explore it further.