C# Class VRItemSpawner

Inheritance: MonoBehaviour
Mostra file Open project: adamhleslie/MorningRitual-GlobalGameJam2016

Public Properties

Property Type Description
attachmentPoint string
objectToSpawn GameObject
requireTriggerPress bool

Public Methods

Method Description
HandHoverUpdate ( VRHand, hand ) : void
OnHandHoverBegin ( VRHand, hand ) : void
OnHandHoverEnd ( VRHand, hand ) : void

Private Methods

Method Description
SpawnAndAttachObject ( VRHand, hand ) : void

Method Details

HandHoverUpdate() public method

public HandHoverUpdate ( VRHand, hand ) : void
hand VRHand,
return void

OnHandHoverBegin() public method

public OnHandHoverBegin ( VRHand, hand ) : void
hand VRHand,
return void

OnHandHoverEnd() public method

public OnHandHoverEnd ( VRHand, hand ) : void
hand VRHand,
return void

Property Details

attachmentPoint public_oe property

public string attachmentPoint
return string

objectToSpawn public_oe property

public GameObject objectToSpawn
return GameObject

requireTriggerPress public_oe property

public bool requireTriggerPress
return bool