Muscle that PuppetMasterProps can be attached to. More...
Inherits MonoBehaviour.
Public Member Functions | |
delegate void | PropDelegate (PuppetMasterProp prop) |
Delegate used when picking up and dropping props. More... | |
bool | AddAdditionalPin () |
Adding additional pin at runtime. More... | |
bool | RemoveAdditionalPin () |
Removing additional pin at runtime More... | |
Public Attributes | |
PuppetMasterProp | currentProp |
The PuppetMasterProp currently held by this Prop Muscle. To pick up a prop, just assign it as propMuscle.currentProp. To drop, set propMuscle.currentProp to null. Replacing this value with another prop drops any previously held props. More... | |
Vector3 | additionalPinOffset = Vector3.forward |
Offset of the additional pin from this Prop Muscle in local space. More... | |
PropDelegate | OnPickUpProp |
Called after a prop has been picked up by this PropMuscle. More... | |
PropDelegate | OnDropProp |
Called after a prop is dropped by this PropMuscle. More... | |
Properties | |
PuppetMasterProp | activeProp [get, set] |
The prop that is actually connected to this PropMuscle. Null if none. More... | |
Muscle that PuppetMasterProps can be attached to.