Game Development Reference
In-Depth Information
Listing 33:
Holdable script
Most of the job is going to be in
Holder
script, which is shown in Listing 34. This script
need to be attached to the cylinder that represents the player.