C# Class GhostFoV, hac-man

Inheritance: MonoBehaviour
Exibir arquivo Open project: hackerspace-ntnu/hac-man Class Usage Examples

Public Properties

Property Type Description
obstacleMask LayerMask
targetMask LayerMask
viewRadius float

Public Methods

Method Description
DirFromAngle ( float angleInDegrees, bool angleIsGlobal ) : Vector3
FindVisibleTargets ( ) : void
LateUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
FindTargetsWithDelay ( float delay ) : IEnumerator

Method Details

DirFromAngle() public method

public DirFromAngle ( float angleInDegrees, bool angleIsGlobal ) : Vector3
angleInDegrees float
angleIsGlobal bool
return Vector3

FindVisibleTargets() public method

public FindVisibleTargets ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

obstacleMask public_oe property

public LayerMask obstacleMask
return LayerMask

targetMask public_oe property

public LayerMask targetMask
return LayerMask

viewRadius public_oe property

public float viewRadius
return float