C# Class RaycastInteract, PGP2

Inheritance: MonoBehaviour
Exibir arquivo Open project: theiis/PGP2

Public Properties

Property Type Description
hit UnityEngine.RaycastHit
interactDist float
raycastDirection Transform

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
rayTrace ( ) : GameObject

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

rayTrace() public method

public rayTrace ( ) : GameObject
return GameObject

Property Details

hit public_oe property

public RaycastHit,UnityEngine hit
return UnityEngine.RaycastHit

interactDist public_oe property

public float interactDist
return float

raycastDirection public_oe property

public Transform raycastDirection
return Transform