![]() ![]() One of these volumes is Fire, which decreases player health over time. ![]() If casting succeeds, you can then access class-specific functionality on the Actor you cast to.įor example, let's say you're making a game where you have multiple types of Volumes that can affect the player character in different ways. Casting is an action that takes an Actor of a specific class and tries to treat it as if it were of a different class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |