This is the 32nd part of the tutorial series, where we are going to implement a Real Time Strategy game using Unreal Engine and C++. Today we are going to work on how resources are spent to construct buildings. Each building will have an associated build cost and when player try to construct a new building, game will check if there is enough resources to build it. If yes, building will be allowed and the required amount of resources will be deducted from the total resource count. Game will have 4 resource types (Wood, Food, Stone & Gold) and the build cost can be from multiple type of resources. Resource counters will be handled through gameplay attribute sets.