C# Class AI_PlayerDetection, scriptcaster

Inheritance: MonoBehaviour
ファイルを表示 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_oe property

public float arcDegrees
return float

debugCircle public_oe property

public bool debugCircle
return bool

inRange public_oe property

public bool inRange
return bool

isDetected public_oe property

public bool isDetected
return bool

radius public_oe property

public float radius
return float

sightEnd public_oe property

public Transform sightEnd
return Transform

sightStart public_oe property

public Transform sightStart
return Transform

startingAngle public_oe property

public float startingAngle
return float

timePeriod public_oe property

public float timePeriod
return float