C# Class AI_PlayerDetection, scriptcaster

Inheritance: MonoBehaviour
Show file Open project: crazymeeshu/scriptcaster Class Usage Examples

Public Properties

Property Type Description
arcDegrees float
debugCircle bool
inRange bool
isDetected bool
radius float
sightEnd Transform
sightStart Transform
startingAngle float
timePeriod float

Public Methods

Method Description
Behaviors ( ) : void
OnDrawGizmos ( ) : void
Raycasting ( ) : void
Start ( ) : void
Update ( ) : void
detectionBubble ( ) : void
visionSweep ( ) : void

Private Methods

Method Description
clearSight ( RaycastHit2D hits ) : bool

Method Details

Behaviors() public method

public Behaviors ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

Raycasting() public method

public Raycasting ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

detectionBubble() public method

public detectionBubble ( ) : void
return void

visionSweep() public method

public visionSweep ( ) : void
return void

Property Details

arcDegrees public property

public float arcDegrees
return float

debugCircle public property

public bool debugCircle
return bool

inRange public property

public bool inRange
return bool

isDetected public property

public bool isDetected
return bool

radius public property

public float radius
return float

sightEnd public property

public Transform sightEnd
return Transform

sightStart public property

public Transform sightStart
return Transform

startingAngle public property

public float startingAngle
return float

timePeriod public property

public float timePeriod
return float